Compare commits

...

2 Commits

Author SHA1 Message Date
Ushie
7a6f66e663 feat: Pin the use from storage option to the top of the list 2025-10-06 03:53:50 +03:00
Ushie
d5671db3a7 fix: Instantly re-fetch patch bundle on pre-release preference update
Closes #2784
2025-10-06 03:36:14 +03:00
3 changed files with 4 additions and 2 deletions

View File

@@ -190,6 +190,7 @@ fun BundleInformationDialog(
prefs.usePatchesPrereleases.update( prefs.usePatchesPrereleases.update(
it it
) )
onUpdate()
} }
} }
) )
@@ -197,6 +198,7 @@ fun BundleInformationDialog(
modifier = Modifier.clickable { modifier = Modifier.clickable {
composableScope.launch { composableScope.launch {
prefs.usePatchesPrereleases.update(!useBundlePrerelease) prefs.usePatchesPrereleases.update(!useBundlePrerelease)
onUpdate()
} }
} }
) )

View File

@@ -176,7 +176,7 @@ fun AppSelectorScreen(
.padding(paddingValues), .padding(paddingValues),
horizontalAlignment = Alignment.CenterHorizontally horizontalAlignment = Alignment.CenterHorizontally
) { ) {
item { stickyHeader {
ListItem( ListItem(
modifier = Modifier.clickable { modifier = Modifier.clickable {
pickApkLauncher.launch(APK_MIMETYPE) pickApkLauncher.launch(APK_MIMETYPE)

View File

@@ -438,7 +438,7 @@
<string name="add_patches">Add patches</string> <string name="add_patches">Add patches</string>
<string name="auto_update_description">Automatically update when a new version is available</string> <string name="auto_update_description">Automatically update when a new version is available</string>
<string name="patches_prereleases">Use pre-releases</string> <string name="patches_prereleases">Use pre-releases</string>
<string name="patches_prereleases_description">Use pre-release version of %s</string> <string name="patches_prereleases_description">Use pre-release versions of %s</string>
<string name="patches_url">Patches URL</string> <string name="patches_url">Patches URL</string>
<string name="incompatible_patches_dialog">These patches are not compatible with the selected app version (%1$s).\n\nClick on the patches to see more details.</string> <string name="incompatible_patches_dialog">These patches are not compatible with the selected app version (%1$s).\n\nClick on the patches to see more details.</string>
<string name="incompatible_patch">Incompatible patch</string> <string name="incompatible_patch">Incompatible patch</string>