mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-10 02:58:55 +01:00
Replace remaining Android-specific strings
Also renaming the helper composables so it's a bit easier to find/replace everything in forks.
This commit is contained in:
@@ -19,7 +19,7 @@ import eu.kanade.tachiyomi.util.CrashLogUtil
|
||||
import kotlinx.coroutines.launch
|
||||
import tachiyomi.i18n.MR
|
||||
import tachiyomi.presentation.core.components.material.padding
|
||||
import tachiyomi.presentation.core.i18n.localize
|
||||
import tachiyomi.presentation.core.i18n.stringResource
|
||||
import tachiyomi.presentation.core.screens.InfoScreen
|
||||
|
||||
@Composable
|
||||
@@ -32,15 +32,15 @@ fun CrashScreen(
|
||||
|
||||
InfoScreen(
|
||||
icon = Icons.Outlined.BugReport,
|
||||
headingText = localize(MR.strings.crash_screen_title),
|
||||
subtitleText = localize(MR.strings.crash_screen_description, localize(MR.strings.app_name)),
|
||||
acceptText = localize(MR.strings.pref_dump_crash_logs),
|
||||
headingText = stringResource(MR.strings.crash_screen_title),
|
||||
subtitleText = stringResource(MR.strings.crash_screen_description, stringResource(MR.strings.app_name)),
|
||||
acceptText = stringResource(MR.strings.pref_dump_crash_logs),
|
||||
onAcceptClick = {
|
||||
scope.launch {
|
||||
CrashLogUtil(context).dumpLogs()
|
||||
}
|
||||
},
|
||||
rejectText = localize(MR.strings.crash_screen_restart_application),
|
||||
rejectText = stringResource(MR.strings.crash_screen_restart_application),
|
||||
onRejectClick = onRestartClick,
|
||||
) {
|
||||
Box(
|
||||
|
||||
Reference in New Issue
Block a user