mirror of
				https://github.com/SimpleMobileTools/Simple-Launcher.git
				synced 2025-06-05 21:59:15 +02:00 
			
		
		
		
	fix navigation bar being fully colored
This commit is contained in:
		| @@ -160,6 +160,11 @@ class MainActivity : SimpleActivity(), FlingListener { | ||||
|         return null | ||||
|     } | ||||
|  | ||||
|     override fun onStart() { | ||||
|         super.onStart() | ||||
|         home_screen_grid.appWidgetHost.startListening() | ||||
|     } | ||||
|  | ||||
|     override fun onResume() { | ||||
|         super.onResume() | ||||
|         updateStatusbarColor(Color.TRANSPARENT) | ||||
| @@ -194,11 +199,11 @@ class MainActivity : SimpleActivity(), FlingListener { | ||||
|  | ||||
|             refetchLaunchers() | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     override fun onStart() { | ||||
|         super.onStart() | ||||
|         home_screen_grid.appWidgetHost.startListening() | ||||
|         // avoid showing fully colored navigation bars | ||||
|         if (window.navigationBarColor != resources.getColor(R.color.semitransparent_navigation)) { | ||||
|             window.navigationBarColor = Color.TRANSPARENT | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     override fun onStop() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user