mirror of
				https://github.com/SimpleMobileTools/Simple-Launcher.git
				synced 2025-06-05 21:59:15 +02:00 
			
		
		
		
	adding a null check to onStop
This commit is contained in:
		| @@ -63,7 +63,7 @@ android { | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:4854d74def' | ||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:db51b86628' | ||||
|  | ||||
|     kapt "androidx.room:room-compiler:2.4.3" | ||||
|     implementation "androidx.room:room-runtime:2.4.3" | ||||
|   | ||||
| @@ -186,7 +186,7 @@ class MainActivity : SimpleActivity(), FlingListener { | ||||
|  | ||||
|     override fun onStop() { | ||||
|         super.onStop() | ||||
|         home_screen_grid.appWidgetHost.stopListening() | ||||
|         home_screen_grid?.appWidgetHost?.stopListening() | ||||
|     } | ||||
|  | ||||
|     override fun onBackPressed() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user