mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-01 13:20:16 +02:00
Fixed APK picker + UX tweak
This commit is contained in:
@@ -50,8 +50,10 @@ class _AppPageState extends State<AppPage> {
|
||||
appsProvider
|
||||
.downloadAndInstallLatestApp(
|
||||
[app!.app.id],
|
||||
context).then((_) {
|
||||
Navigator.of(context).pop();
|
||||
context).then((res) {
|
||||
if (res) {
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
});
|
||||
}
|
||||
: null,
|
||||
|
@@ -170,6 +170,11 @@ class _SettingsPageState extends State<SettingsPage> {
|
||||
)
|
||||
]),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: const Text('Cancel')),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
if (formKey.currentState!
|
||||
@@ -198,11 +203,6 @@ class _SettingsPageState extends State<SettingsPage> {
|
||||
}
|
||||
},
|
||||
child: const Text('Import')),
|
||||
TextButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: const Text('Cancel'))
|
||||
],
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user