Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Avoid crashing in SourcePreferencesScreen if source can't be loaded

(cherry picked from commit 4efca04765)
Cette révision appartient à :
arkon 2023-02-25 15:32:46 -05:00
Parent 79323de326
révision aa2ec5940f

Voir le fichier

@ -61,7 +61,7 @@ class SourcePreferencesScreen(val sourceId: Long) : Screen {
Scaffold(
topBar = {
TopAppBar(
title = { Text(text = Injekt.get<SourceManager>().get(sourceId)!!.toString()) },
title = { Text(text = Injekt.get<SourceManager>().getOrStub(sourceId).toString()) },
navigationIcon = {
IconButton(onClick = navigator::pop) {
Icon(