mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-01 13:20:16 +02:00
Added App settings button
This commit is contained in:
@@ -678,6 +678,14 @@ class AppsProvider with ChangeNotifier {
|
||||
return false;
|
||||
}
|
||||
|
||||
Future<void> openAppSettings(String appId) async {
|
||||
final AndroidIntent intent = AndroidIntent(
|
||||
action: 'action_application_details_settings',
|
||||
data: 'package:$appId',
|
||||
);
|
||||
await intent.launch();
|
||||
}
|
||||
|
||||
Future<App?> checkUpdate(String appId) async {
|
||||
App? currentApp = apps[appId]!.app;
|
||||
SourceProvider sourceProvider = SourceProvider();
|
||||
|
Reference in New Issue
Block a user