mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Don't allow swiping away app update install notification
Based on 85ef40d0ff
			
			
This commit is contained in:
		| @@ -116,6 +116,7 @@ internal class AppUpdateNotifier(private val context: Context) { | ||||
|             setOnlyAlertOnce(false) | ||||
|             setProgress(0, 0, false) | ||||
|             setContentIntent(installIntent) | ||||
|             setOngoing(true) | ||||
|  | ||||
|             clearActions() | ||||
|             addAction( | ||||
|   | ||||
| @@ -775,7 +775,7 @@ | ||||
|  | ||||
|     <!--UpdateCheck Notifications--> | ||||
|     <string name="update_check_notification_download_in_progress">Downloading…</string> | ||||
|     <string name="update_check_notification_download_complete">Download complete</string> | ||||
|     <string name="update_check_notification_download_complete">Tap to install</string> | ||||
|     <string name="update_check_notification_download_error">Download error</string> | ||||
|     <string name="update_check_notification_update_available">New version available!</string> | ||||
|     <string name="update_check_fdroid_migration_info">A new version is available from the official releases. Tap to learn how to migrate from unofficial F-Droid releases.</string> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user