mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-10-30 13:03:28 +01:00 
			
		
		
		
	Added icon for non-installed Apps
This commit is contained in:
		| @@ -264,7 +264,22 @@ class AppsPageState extends State<AppsPage> { | |||||||
|                             listedApps[index].installedInfo!.icon!, |                             listedApps[index].installedInfo!.icon!, | ||||||
|                             gaplessPlayback: true, |                             gaplessPlayback: true, | ||||||
|                           ) |                           ) | ||||||
|                         : null, |                         : Row( | ||||||
|  |                             mainAxisSize: MainAxisSize.min, | ||||||
|  |                             mainAxisAlignment: MainAxisAlignment.center, | ||||||
|  |                             children: [ | ||||||
|  |                                 Transform( | ||||||
|  |                                   alignment: Alignment.center, | ||||||
|  |                                   transform: Matrix4.rotationZ(0.31), | ||||||
|  |                                   child: Image( | ||||||
|  |                                     image: const AssetImage( | ||||||
|  |                                         'assets/graphics/icon.png'), | ||||||
|  |                                     color: Colors.white.withOpacity(0.1), | ||||||
|  |                                     colorBlendMode: BlendMode.modulate, | ||||||
|  |                                     gaplessPlayback: true, | ||||||
|  |                                   ), | ||||||
|  |                                 ), | ||||||
|  |                               ]), | ||||||
|                     title: Text( |                     title: Text( | ||||||
|                       maxLines: 1, |                       maxLines: 1, | ||||||
|                       listedApps[index].installedInfo?.name ?? |                       listedApps[index].installedInfo?.name ?? | ||||||
|   | |||||||
| @@ -97,6 +97,7 @@ flutter: | |||||||
|    |    | ||||||
|   assets: |   assets: | ||||||
|     - assets/translations/ |     - assets/translations/ | ||||||
|  |     - assets/graphics/ | ||||||
|  |  | ||||||
|   # An image asset can refer to one or more resolution-specific "variants", see |   # An image asset can refer to one or more resolution-specific "variants", see | ||||||
|   # https://flutter.dev/assets-and-images/#resolution-aware |   # https://flutter.dev/assets-and-images/#resolution-aware | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user