mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 12:47:37 +02:00
feat: add App Info View
This commit is contained in:
@ -59,8 +59,7 @@ class AppSelectorViewModel extends BaseViewModel {
|
||||
apkFilePath: result.files.single.path!,
|
||||
icon: application.icon,
|
||||
patchDate: DateTime.now(),
|
||||
isRooted: _isRooted,
|
||||
isFromStorage: true,
|
||||
isRooted: false,
|
||||
);
|
||||
locator<PatcherViewModel>().selectedPatches.clear();
|
||||
locator<PatcherViewModel>().notifyListeners();
|
||||
|
@ -70,7 +70,6 @@ class InstallerView extends StatelessWidget {
|
||||
label: model.isInstalled
|
||||
? I18nText('installerView.openButton')
|
||||
: I18nText('installerView.installButton'),
|
||||
isFilled: true,
|
||||
isExpanded: true,
|
||||
onPressed: () {
|
||||
if (model.isInstalled) {
|
||||
|
@ -99,7 +99,7 @@ class InstallerViewModel extends BaseViewModel {
|
||||
if (_app != null && _patches.isNotEmpty) {
|
||||
String apkFilePath = _app!.apkFilePath;
|
||||
try {
|
||||
if (_app!.isRooted && !_app!.isFromStorage) {
|
||||
if (_app!.isRooted) {
|
||||
update(0.0, '', 'Checking if an old patched version exists');
|
||||
bool oldExists = await _patcherAPI.checkOldPatch(_app!);
|
||||
if (oldExists) {
|
||||
|
Reference in New Issue
Block a user