fix: Use a proper app name when MicroG is applied

This commit is contained in:
Alberto Ponces 2022-09-20 10:04:51 +01:00
parent 4631982d42
commit 03b87a50ea

View File

@ -178,6 +178,7 @@ class InstallerViewModel extends BaseViewModel {
_app.patchDate = DateTime.now();
_app.appliedPatches = _patches.map((p) => p.name).toList();
if (hasMicroG) {
_app.name += ' ReVanced';
_app.packageName = _app.packageName.replaceFirst(
'com.google.',
'app.revanced.',