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

DROID-655 Relations | Refactoring | Implement fallback logic for default object type ID when updating Android app (#2726)

This commit is contained in:
Evgenii Kozlov 2022-11-28 19:23:27 +03:00 committed by GitHub
parent ef784d4f31
commit e10d35e6b8
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 62 additions and 13 deletions

View file

@ -698,7 +698,7 @@ class Middleware(
val (image, emoji) = when (val icon = command.icon) {
is Command.SetTextIcon.Icon.Emoji -> "" to icon.unicode
is Command.SetTextIcon.Icon.Image -> icon.hash to ""
Command.SetTextIcon.Icon.None -> "" to ""
is Command.SetTextIcon.Icon.None -> "" to ""
}
val request = Rpc.BlockText.SetIcon.Request(
contextId = command.context,