mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
refactor: fix patch log order to be consistent with settings order (#1398)
This commit is contained in:
parent
ccc6be1e71
commit
4cdc92388c
@ -185,26 +185,26 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
|
|
||||||
final formattedLogs = [
|
final formattedLogs = [
|
||||||
'```',
|
'```',
|
||||||
'~ Device Info',
|
'- Device Info',
|
||||||
'ReVanced Manager: ${info['version']}',
|
'ReVanced Manager: ${info['version']}',
|
||||||
'Build: ${info['flavor']}',
|
'Build: ${info['flavor']}',
|
||||||
'Model: ${info['model']}',
|
'Model: ${info['model']}',
|
||||||
'Android version: ${info['androidVersion']}',
|
'Android version: ${info['androidVersion']}',
|
||||||
'Supported architectures: ${info['supportedArch'].join(", ")}',
|
'Supported architectures: ${info['supportedArch'].join(", ")}',
|
||||||
|
|
||||||
'\n~ Patch Info',
|
'\n- Patch Info',
|
||||||
'App: ${_app.packageName} v${_app.version}',
|
'App: ${_app.packageName} v${_app.version}',
|
||||||
'Patches version: ${_managerAPI.patchesVersion}',
|
'Patches version: ${_managerAPI.patchesVersion}',
|
||||||
'Patches: ${_patches.map((p) => p.name).toList().join(", ")}',
|
'Patches: ${_patches.map((p) => p.name).toList().join(", ")}',
|
||||||
|
|
||||||
'\n~ Settings',
|
'\n- Settings',
|
||||||
'Allow changing patch selection: ${_managerAPI.isPatchesChangeEnabled()}',
|
'Allow changing patch selection: ${_managerAPI.isPatchesChangeEnabled()}',
|
||||||
'Show universal patches: ${_managerAPI.areUniversalPatchesEnabled()}',
|
|
||||||
'Version compatibility check: ${_managerAPI.isVersionCompatibilityCheckEnabled()}',
|
'Version compatibility check: ${_managerAPI.isVersionCompatibilityCheckEnabled()}',
|
||||||
|
'Show universal patches: ${_managerAPI.areUniversalPatchesEnabled()}',
|
||||||
'Patches source: ${_managerAPI.getPatchesRepo()}',
|
'Patches source: ${_managerAPI.getPatchesRepo()}',
|
||||||
'Integration source: ${_managerAPI.getIntegrationsRepo()}',
|
'Integration source: ${_managerAPI.getIntegrationsRepo()}',
|
||||||
|
|
||||||
'\n~ Logs',
|
'\n- Logs',
|
||||||
logs,
|
logs,
|
||||||
'```',
|
'```',
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user