diff --git a/app/src/main/java/eu/kanade/presentation/browse/ExtensionDetailsScreen.kt b/app/src/main/java/eu/kanade/presentation/browse/ExtensionDetailsScreen.kt index 61ade74b9..7669bcc2c 100644 --- a/app/src/main/java/eu/kanade/presentation/browse/ExtensionDetailsScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/browse/ExtensionDetailsScreen.kt @@ -9,7 +9,6 @@ import androidx.compose.foundation.background import androidx.compose.foundation.clickable import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.layout.Arrangement -import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Row @@ -222,20 +221,17 @@ private fun WarningBanner( // SY --> modifier: Modifier = Modifier, ) { - Box( + Text( + text = stringResource(textRes), modifier = modifier // SY <-- .fillMaxWidth() .background(MaterialTheme.colorScheme.error) .padding(16.dp), - contentAlignment = Alignment.Center, - ) { - Text( - text = stringResource(textRes), - color = MaterialTheme.colorScheme.onError, - style = MaterialTheme.typography.bodyMedium, - ) - } + color = MaterialTheme.colorScheme.onError, + style = MaterialTheme.typography.bodyMedium, + textAlign = TextAlign.Center, + ) } @Composable diff --git a/app/src/main/java/eu/kanade/presentation/updates/UpdatesScreen.kt b/app/src/main/java/eu/kanade/presentation/updates/UpdatesScreen.kt index d43aa7f2c..dc54ff111 100644 --- a/app/src/main/java/eu/kanade/presentation/updates/UpdatesScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/updates/UpdatesScreen.kt @@ -143,7 +143,7 @@ private fun UpdateScreenContent( if (presenter.lastUpdated > 0L) { updatesLastUpdatedItem(presenter.lastUpdated) } - + updatesUiItems( uiModels = presenter.uiModels, selectionMode = presenter.selectionMode, diff --git a/i18n/src/main/res/values/strings.xml b/i18n/src/main/res/values/strings.xml index 82b1aa14d..2a6b180b3 100755 --- a/i18n/src/main/res/values/strings.xml +++ b/i18n/src/main/res/values/strings.xml @@ -284,7 +284,7 @@ App info Untrusted extension This extension was signed with an untrusted certificate and wasn\'t activated.\n\nA malicious extension could read any login credentials stored in Tachiyomi or execute arbitrary code.\n\nBy trusting this certificate you accept these risks. - This extension is no longer available. + This extension is no longer available. It may not function properly and can cause issues with the app. Uninstalling it is recommended. This extension is not from the official Tachiyomi extensions list. Failed to get extensions list Version @@ -826,7 +826,7 @@ Downloading… - Tap to install + Tap to install update Download error New version available! A new version is available from the official releases. Tap to learn how to migrate from unofficial F-Droid releases.