1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-2987 Widgets | Non valid object (#1740)

This commit is contained in:
Konstantin Ivanov 2024-10-25 12:19:33 +02:00 committed by Evgenii Kozlov
parent b3e96476fd
commit b19f8765c3
16 changed files with 42 additions and 15 deletions

View file

@ -14,6 +14,7 @@ import com.anytypeio.anytype.core_models.Relations
import com.anytypeio.anytype.core_models.primitives.SpaceId
import com.anytypeio.anytype.core_ui.extensions.simpleIcon
import com.anytypeio.anytype.core_utils.ext.orNull
import com.anytypeio.anytype.core_utils.ext.toast
import com.anytypeio.anytype.domain.all_content.RestoreAllContentState
import com.anytypeio.anytype.domain.all_content.UpdateAllContentState
import com.anytypeio.anytype.domain.base.fold
@ -704,6 +705,9 @@ class AllContentViewModel(
Timber.e("Unexpected layout: ${navigation.layout}")
commands.emit(Command.SendToast.UnexpectedLayout(navigation.layout?.name.orEmpty()))
}
OpenObjectNavigation.NonValidObject -> {
Timber.e("Object id is missing")
}
}
}
}