mirror of
				https://github.com/KokaKiwi/BarInsta
				synced 2025-10-31 11:35:34 +00:00 
			
		
		
		
	fix first-account crash due to backup?
This commit is contained in:
		
							parent
							
								
									65624f0b42
								
							
						
					
					
						commit
						ac4bb2e027
					
				| @ -10,9 +10,7 @@ import awais.instagrabber.utils.Utils.settingsHelper | |||||||
| 
 | 
 | ||||||
| class BarinstaBackupAgent : BackupAgent() { | class BarinstaBackupAgent : BackupAgent() { | ||||||
|     override fun onFullBackup(data: FullBackupDataOutput?) { |     override fun onFullBackup(data: FullBackupDataOutput?) { | ||||||
|         if (data != null && settingsHelper.getBoolean(PreferenceKeys.PREF_AUTO_BACKUP_ENABLED)) { |         super.onFullBackup(if (settingsHelper.getBoolean(PreferenceKeys.PREF_AUTO_BACKUP_ENABLED)) data else null) | ||||||
|             super.onFullBackup(data) |  | ||||||
|         } |  | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // no key-value backups |     // no key-value backups | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user