mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-20 21:19:29 +02:00
Remove unused function
This commit is contained in:
@@ -838,30 +838,6 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
resetSelectedAppsInstallStatuses() async {
|
|
||||||
try {
|
|
||||||
var values = await showDialog(
|
|
||||||
context: context,
|
|
||||||
builder: (BuildContext ctx) {
|
|
||||||
return GeneratedFormModal(
|
|
||||||
title: tr('resetInstallStatusForSelectedAppsQuestion'),
|
|
||||||
items: const [],
|
|
||||||
initValid: true,
|
|
||||||
message: tr('installStatusOfXWillBeResetExplanation',
|
|
||||||
args: [plural('apps', selectedAppIds.length)]),
|
|
||||||
);
|
|
||||||
});
|
|
||||||
if (values != null) {
|
|
||||||
appsProvider.saveApps(selectedApps.map((e) {
|
|
||||||
e.installedVersion = null;
|
|
||||||
return e;
|
|
||||||
}).toList());
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
showMoreOptionsDialog() {
|
showMoreOptionsDialog() {
|
||||||
return showDialog(
|
return showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
Reference in New Issue
Block a user