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 f8b20483e..7c528092a 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 @@ -197,19 +196,16 @@ private fun ExtensionDetails( @Composable private fun WarningBanner(@StringRes textRes: Int) { - Box( + Text( + text = stringResource(textRes), modifier = Modifier .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 d85d7b1db..ce771f915 100644 --- 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.