mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-08-20 21:19:29 +02:00
Merge pull request #258 from ImranR98/dev
Removed unused commented code
This commit is contained in:
@@ -391,28 +391,6 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
: () {
|
: () {
|
||||||
appsProvider.removeAppsWithModal(
|
appsProvider.removeAppsWithModal(
|
||||||
context, selectedApps.toList());
|
context, selectedApps.toList());
|
||||||
// showDialog<Map<String, dynamic>?>(
|
|
||||||
// context: context,
|
|
||||||
// builder: (BuildContext ctx) {
|
|
||||||
// return GeneratedFormModal(
|
|
||||||
// title: tr(
|
|
||||||
// 'removeSelectedAppsQuestion'),
|
|
||||||
// items: const [],
|
|
||||||
// initValid: true,
|
|
||||||
// message: tr(
|
|
||||||
// 'xWillBeRemovedButRemainInstalled',
|
|
||||||
// args: [
|
|
||||||
// plural('apps',
|
|
||||||
// selectedApps.length)
|
|
||||||
// ]),
|
|
||||||
// );
|
|
||||||
// }).then((values) {
|
|
||||||
// if (values != null) {
|
|
||||||
// appsProvider.removeApps(selectedApps
|
|
||||||
// .map((e) => e.id)
|
|
||||||
// .toList());
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
},
|
},
|
||||||
tooltip: tr('removeSelectedApps'),
|
tooltip: tr('removeSelectedApps'),
|
||||||
icon: const Icon(Icons.delete_outline_outlined),
|
icon: const Icon(Icons.delete_outline_outlined),
|
||||||
|
Reference in New Issue
Block a user