mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-28 20:13:28 +01:00 
			
		
		
		
	Changed App tile layout
This commit is contained in:
		| @@ -168,10 +168,8 @@ class _AppsPageState extends State<AppsPage> { | |||||||
|                   delegate: SliverChildBuilderDelegate( |                   delegate: SliverChildBuilderDelegate( | ||||||
|                       (BuildContext context, int index) { |                       (BuildContext context, int index) { | ||||||
|                 return ListTile( |                 return ListTile( | ||||||
|                   title: Text( |                   title: Text(sortedApps[index].app.name), | ||||||
|                       '${sortedApps[index].app.author}/${sortedApps[index].app.name}'), |                   subtitle: Text('By ${sortedApps[index].app.author}'), | ||||||
|                   subtitle: Text(sortedApps[index].app.installedVersion ?? |  | ||||||
|                       'Not Installed'), |  | ||||||
|                   trailing: sortedApps[index].downloadProgress != null |                   trailing: sortedApps[index].downloadProgress != null | ||||||
|                       ? Text( |                       ? Text( | ||||||
|                           'Downloading - ${sortedApps[index].downloadProgress?.toInt()}%') |                           'Downloading - ${sortedApps[index].downloadProgress?.toInt()}%') | ||||||
| @@ -179,7 +177,8 @@ class _AppsPageState extends State<AppsPage> { | |||||||
|                               sortedApps[index].app.installedVersion != |                               sortedApps[index].app.installedVersion != | ||||||
|                                   sortedApps[index].app.latestVersion |                                   sortedApps[index].app.latestVersion | ||||||
|                           ? const Text('Update Available') |                           ? const Text('Update Available') | ||||||
|                           : null), |                           : Text(sortedApps[index].app.installedVersion ?? | ||||||
|  |                               'Not Installed')), | ||||||
|                   onTap: () { |                   onTap: () { | ||||||
|                     Navigator.push( |                     Navigator.push( | ||||||
|                       context, |                       context, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user