mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 05:27:28 +01:00
Unify layout for new update and crash screens
This commit is contained in:
@@ -16,6 +16,7 @@ class NewUpdateScreen(
|
||||
private val releaseLink: String,
|
||||
private val downloadLink: String,
|
||||
) : Screen {
|
||||
|
||||
@Composable
|
||||
override fun Content() {
|
||||
val navigator = LocalNavigator.currentOrThrow
|
||||
@@ -23,6 +24,7 @@ class NewUpdateScreen(
|
||||
val changelogInfoNoChecksum = remember {
|
||||
changelogInfo.replace("""---(\R|.)*Checksums(\R|.)*""".toRegex(), "")
|
||||
}
|
||||
|
||||
NewUpdateScreen(
|
||||
versionName = versionName,
|
||||
changelogInfo = changelogInfoNoChecksum,
|
||||
|
||||
Reference in New Issue
Block a user