Merge pull request #3349 from vitorpamplona/claude/epic-carson-wjc0xm

Fix bottom bar fallback to use default entries instead of empty list
This commit is contained in:
Vitor Pamplona
2026-06-24 11:43:36 -04:00
committed by GitHub
@@ -215,7 +215,7 @@ class UiSharedPreferences(
}
private fun decodeBottomBarItems(raw: String): List<BottomBarEntry>? {
if (raw.isBlank()) return emptyList()
if (raw.isBlank()) return DefaultBottomBarEntries
// Current format: a JSON list of BottomBarEntry (built-ins + favorites).
runCatching { return JsonMapper.fromJson<List<BottomBarEntry>>(raw) }
// Configs written before the stable @SerialName discriminators used the fully-qualified