mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 13:37:29 +01:00
Fix Clear Database item trying to display language when empty (#7651)
This commit is contained in:
@@ -20,8 +20,6 @@ import androidx.compose.material3.Text
|
||||
import androidx.compose.material3.TextButton
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.LaunchedEffect
|
||||
import androidx.compose.runtime.getValue
|
||||
import androidx.compose.runtime.setValue
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.input.nestedscroll.NestedScrollConnection
|
||||
import androidx.compose.ui.input.nestedscroll.nestedScroll
|
||||
@@ -218,7 +216,7 @@ fun SourceOptionsDialog(
|
||||
) {
|
||||
AlertDialog(
|
||||
title = {
|
||||
Text(text = source.nameWithLanguage)
|
||||
Text(text = source.visualName)
|
||||
},
|
||||
text = {
|
||||
Column {
|
||||
|
||||
@@ -40,7 +40,7 @@ fun ClearDatabaseItem(
|
||||
.weight(1f),
|
||||
) {
|
||||
Text(
|
||||
text = source.nameWithLanguage,
|
||||
text = source.visualName,
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
)
|
||||
Text(text = stringResource(id = R.string.clear_database_source_item_count, count))
|
||||
|
||||
Reference in New Issue
Block a user