Restore chat colors after backup.

This commit is contained in:
Michelle Tang
2025-05-13 11:52:23 -04:00
parent 5d8e0e370d
commit e5d55418ac

View File

@@ -130,7 +130,7 @@ fun ChatStyle.toLocal(importState: ImportState): ChatColors? {
if (this.customColorId != null) {
return importState.remoteToLocalColorId[this.customColorId]?.let { localId ->
val colorId = ChatColors.Id.forLongValue(localId)
ChatColorsPalette.Bubbles.default.withId(colorId)
return SignalDatabase.chatColors.getById(colorId)
}
}