mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-30 21:13:28 +01:00 
			
		
		
		
	Added selection count on Apps page
This commit is contained in:
		| @@ -337,7 +337,17 @@ class AppsPageState extends State<AppsPage> { | ||||
|       persistentFooterButtons: [ | ||||
|         Row( | ||||
|           children: [ | ||||
|             IconButton( | ||||
|             selectedApps.isEmpty | ||||
|                 ? IconButton( | ||||
|                     onPressed: () { | ||||
|                       selectThese(sortedApps.map((e) => e.app).toList()); | ||||
|                     }, | ||||
|                     icon: Icon( | ||||
|                       Icons.select_all_outlined, | ||||
|                       color: Theme.of(context).colorScheme.primary, | ||||
|                     ), | ||||
|                     tooltip: tr('selectAll')) | ||||
|                 : TextButton.icon( | ||||
|                     onPressed: () { | ||||
|                       selectedApps.isEmpty | ||||
|                           ? selectThese(sortedApps.map((e) => e.app).toList()) | ||||
| @@ -349,9 +359,7 @@ class AppsPageState extends State<AppsPage> { | ||||
|                           : Icons.deselect_outlined, | ||||
|                       color: Theme.of(context).colorScheme.primary, | ||||
|                     ), | ||||
|                 tooltip: selectedApps.isEmpty | ||||
|                     ? tr('selectAll') | ||||
|                     : tr('deselectN', args: [selectedApps.length.toString()])), | ||||
|                     label: Text(selectedApps.length.toString())), | ||||
|             const VerticalDivider(), | ||||
|             Expanded( | ||||
|                 child: Row( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user