Compare commits

...

2 Commits

Author SHA1 Message Date
semantic-release-bot
ffd08c737c chore: Release v1.26.0-dev.7 [skip ci]
# app [1.26.0-dev.7](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.6...v1.26.0-dev.7) (2025-10-03)

### Bug Fixes

* Improve consistency between pre-release toggles ([e1b768c](e1b768c467))
2025-10-03 16:34:21 +00:00
Ushie
e1b768c467 fix: Improve consistency between pre-release toggles 2025-10-03 19:26:31 +03:00
4 changed files with 14 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
# app [1.26.0-dev.7](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.6...v1.26.0-dev.7) (2025-10-03)
### Bug Fixes
* Improve consistency between pre-release toggles ([e1b768c](https://github.com/ReVanced/revanced-manager/commit/e1b768c4679ecae8bff8007bdab56ff6544b12b6))
# app [1.26.0-dev.6](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.5...v1.26.0-dev.6) (2025-10-03) # app [1.26.0-dev.6](https://github.com/ReVanced/revanced-manager/compare/v1.26.0-dev.5...v1.26.0-dev.6) (2025-10-03)

View File

@@ -1 +1 @@
version = 1.26.0-dev.6 version = 1.26.0-dev.7

View File

@@ -177,14 +177,14 @@ fun BundleInformationDialog(
} }
if (src.isDefault) { if (src.isDefault) {
val usePrereleases by prefs.usePatchesPrereleases.getAsState() val useBundlePrerelease by prefs.usePatchesPrereleases.getAsState()
BundleListItem( BundleListItem(
headlineText = stringResource(R.string.patches_prereleases), headlineText = stringResource(R.string.patches_prereleases),
supportingText = stringResource(R.string.patches_prereleases_description), supportingText = stringResource(R.string.patches_prereleases_description, src.name),
trailingContent = { trailingContent = {
HapticSwitch( HapticSwitch(
checked = usePrereleases, checked = useBundlePrerelease,
onCheckedChange = { onCheckedChange = {
composableScope.launch { composableScope.launch {
prefs.usePatchesPrereleases.update( prefs.usePatchesPrereleases.update(
@@ -196,7 +196,7 @@ fun BundleInformationDialog(
}, },
modifier = Modifier.clickable { modifier = Modifier.clickable {
composableScope.launch { composableScope.launch {
prefs.usePatchesPrereleases.update(!usePrereleases) prefs.usePatchesPrereleases.update(!useBundlePrerelease)
} }
} }
) )

View File

@@ -437,8 +437,8 @@
<string name="auto_update">Auto update</string> <string name="auto_update">Auto update</string>
<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">Prereleases</string> <string name="patches_prereleases">Use pre-releases</string>
<string name="patches_prereleases_description">Use prerelease versions</string> <string name="patches_prereleases_description">Use pre-release version 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>