mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	Add a comment
This commit is contained in:
		| @@ -15,6 +15,7 @@ public class UpdateSettingsFragment extends BasePreferenceFragment { | |||||||
|                 .putBoolean(getString(R.string.update_app_key), (boolean) checkForUpdates).apply(); |                 .putBoolean(getString(R.string.update_app_key), (boolean) checkForUpdates).apply(); | ||||||
|  |  | ||||||
|                 if ((boolean) checkForUpdates) { |                 if ((boolean) checkForUpdates) { | ||||||
|  |                     // Search for updates immediately when update checks are enabled. | ||||||
|                     // Reset the expire time. This is necessary to check for an update immediately. |                     // Reset the expire time. This is necessary to check for an update immediately. | ||||||
|                     defaultPreferences.edit() |                     defaultPreferences.edit() | ||||||
|                             .putLong(getString(R.string.update_expiry_key), 0).apply(); |                             .putLong(getString(R.string.update_expiry_key), 0).apply(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tobi
					Tobi