mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-11-03 23:03:29 +01:00 
			
		
		
		
	Make touch highlight visible in dark theme (#860)
This commit is contained in:
		@@ -452,11 +452,13 @@ class AppsPageState extends State<AppsPage> {
 | 
				
			|||||||
              child: Container(
 | 
					              child: Container(
 | 
				
			||||||
                  decoration: BoxDecoration(
 | 
					                  decoration: BoxDecoration(
 | 
				
			||||||
                      borderRadius: BorderRadius.circular(12),
 | 
					                      borderRadius: BorderRadius.circular(12),
 | 
				
			||||||
                      color: Theme.of(context).primaryColor.withAlpha(
 | 
					                      color: settingsProvider.highlightTouchTargets &&
 | 
				
			||||||
                          (settingsProvider.highlightTouchTargets &&
 | 
					                              showChangesFn != null
 | 
				
			||||||
                                  showChangesFn != null)
 | 
					                          ? (Theme.of(context).brightness == Brightness.light
 | 
				
			||||||
                              ? 20
 | 
					                                  ? Theme.of(context).primaryColor
 | 
				
			||||||
                              : 0)),
 | 
					                                  : Theme.of(context).primaryColorLight)
 | 
				
			||||||
 | 
					                              .withAlpha(20)
 | 
				
			||||||
 | 
					                          : null),
 | 
				
			||||||
                  padding: const EdgeInsets.fromLTRB(12, 0, 12, 0),
 | 
					                  padding: const EdgeInsets.fromLTRB(12, 0, 12, 0),
 | 
				
			||||||
                  child: Column(
 | 
					                  child: Column(
 | 
				
			||||||
                    mainAxisAlignment: MainAxisAlignment.center,
 | 
					                    mainAxisAlignment: MainAxisAlignment.center,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user