Skip to content

Commit 611d804

Browse files
committed
feat: upstream patcher UI improvements with ReVanced/revanced-manager#2805
1 parent d5c89bf commit 611d804

File tree

12 files changed

+283
-200
lines changed

12 files changed

+283
-200
lines changed

api/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
- Patch options menus now follow the same design as the rest of the patch selection page https://github.com/Jman-Github/Universal-ReVanced-Manager/issues/84
1919
- The custom file picker now remembers the last directory you where in and persists it across all instances of the file picker
2020
- Added a discover bundle screen using Brosssh's external bundle API
21+
- Added an option in `Developer options` to disable the battery optimization banner that is shown if the user has battery option on
22+
- Updated the patcher steps UI to match upstream improvements https://github.com/ReVanced/revanced-manager/pull/2805
23+
- Added a new "Auto-expand running steps" setting for patcher progress widgets
2124

2225

2326
# Bug fixes
@@ -326,4 +329,4 @@
326329

327330
- Added patch bundle display naming
328331
- Added support for all 3rd party patch bundles
329-
- Added the ability to deselect all patches in selection menu
332+
- Added the ability to deselect all patches in selection menu

app/src/main/java/app/revanced/manager/domain/manager/PreferencesManager.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class PreferencesManager(
4646
val officialBundleSortOrder = intPreference("official_bundle_sort_order", -1)
4747
val officialBundleCustomDisplayName = stringPreference("official_bundle_custom_display_name", "")
4848
val autoCollapsePatcherSteps = booleanPreference("auto_collapse_patcher_steps", false)
49+
val autoExpandRunningSteps = booleanPreference("auto_expand_running_steps", true)
4950

5051
val allowMeteredUpdates = booleanPreference("allow_metered_updates", true)
5152
val installerPrimary = stringPreference("installer_primary", InstallerPreferenceTokens.INTERNAL)
@@ -103,6 +104,7 @@ class PreferencesManager(
103104
val useProcessRuntime: Boolean? = null,
104105
val patcherProcessMemoryLimit: Int? = null,
105106
val autoCollapsePatcherSteps: Boolean? = null,
107+
val autoExpandRunningSteps: Boolean? = null,
106108
val patchedAppExportFormat: String? = null,
107109
val officialBundleRemoved: Boolean? = null,
108110
val officialBundleCustomDisplayName: String? = null,
@@ -155,6 +157,7 @@ class PreferencesManager(
155157
useProcessRuntime = useProcessRuntime.get(),
156158
patcherProcessMemoryLimit = patcherProcessMemoryLimit.get(),
157159
autoCollapsePatcherSteps = autoCollapsePatcherSteps.get(),
160+
autoExpandRunningSteps = autoExpandRunningSteps.get(),
158161
patchedAppExportFormat = patchedAppExportFormat.get(),
159162
officialBundleRemoved = officialBundleRemoved.get(),
160163
officialBundleCustomDisplayName = officialBundleCustomDisplayName.get(),
@@ -207,6 +210,7 @@ class PreferencesManager(
207210
snapshot.useProcessRuntime?.let { useProcessRuntime.value = it }
208211
snapshot.patcherProcessMemoryLimit?.let { patcherProcessMemoryLimit.value = it }
209212
snapshot.autoCollapsePatcherSteps?.let { autoCollapsePatcherSteps.value = it }
213+
snapshot.autoExpandRunningSteps?.let { autoExpandRunningSteps.value = it }
210214
snapshot.patchedAppExportFormat?.let { patchedAppExportFormat.value = it }
211215
snapshot.officialBundleRemoved?.let { officialBundleRemoved.value = it }
212216
snapshot.officialBundleCustomDisplayName?.let { officialBundleCustomDisplayName.value = it }

0 commit comments

Comments
 (0)