refactor: fix patch log order to be consistent with settings order (#1398)

This commit is contained in:
KobeW50 2023-10-17 02:19:18 -04:00 committed by GitHub
parent ccc6be1e71
commit 4cdc92388c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,26 +185,26 @@ class InstallerViewModel extends BaseViewModel {
final formattedLogs = [
'```',
'~ Device Info',
'- Device Info',
'ReVanced Manager: ${info['version']}',
'Build: ${info['flavor']}',
'Model: ${info['model']}',
'Android version: ${info['androidVersion']}',
'Supported architectures: ${info['supportedArch'].join(", ")}',
'\n~ Patch Info',
'\n- Patch Info',
'App: ${_app.packageName} v${_app.version}',
'Patches version: ${_managerAPI.patchesVersion}',
'Patches: ${_patches.map((p) => p.name).toList().join(", ")}',
'\n~ Settings',
'\n- Settings',
'Allow changing patch selection: ${_managerAPI.isPatchesChangeEnabled()}',
'Show universal patches: ${_managerAPI.areUniversalPatchesEnabled()}',
'Version compatibility check: ${_managerAPI.isVersionCompatibilityCheckEnabled()}',
'Show universal patches: ${_managerAPI.areUniversalPatchesEnabled()}',
'Patches source: ${_managerAPI.getPatchesRepo()}',
'Integration source: ${_managerAPI.getIntegrationsRepo()}',
'\n~ Logs',
'\n- Logs',
logs,
'```',
];