fix: update hardcoded patch name

This commit is contained in:
Aunali321 2023-07-11 01:21:45 +05:30
parent 9a57f8b858
commit 85b166cbda

View file

@ -166,7 +166,7 @@ class InstallerViewModel extends BaseViewModel {
try {
_app.isRooted = installAsRoot;
final bool hasMicroG =
_patches.any((p) => p.name.endsWith('microg-support'));
_patches.any((p) => p.name.endsWith('MicroG support'));
final bool rootMicroG = installAsRoot && hasMicroG;
final bool rootFromStorage = installAsRoot && _app.isFromStorage;
final bool ytWithoutRootMicroG =