mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2865 fix
This commit is contained in:
parent
9d022904f6
commit
8a4c78fa21
1 changed files with 1 additions and 1 deletions
|
@ -2337,7 +2337,7 @@ class EditorViewModel(
|
|||
|
||||
fun onToggleClicked(target: Id) {
|
||||
Timber.d("onToggleClicked, target:[$target]")
|
||||
if (mode is EditorMode.Edit || mode is EditorMode.Locked) {
|
||||
if (mode is EditorMode.Edit || mode is EditorMode.Locked || mode is EditorMode.Read) {
|
||||
onToggleChanged(target)
|
||||
viewModelScope.launch { refresh() }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue