mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Forgot the backup manager isn't injected
This commit is contained in:
		| @@ -13,7 +13,7 @@ class BackupCreatorJob : Job() { | ||||
|  | ||||
|     override fun onRunJob(params: Params): Result { | ||||
|         val preferences = Injekt.get<PreferencesHelper>() | ||||
|         val backupManager = Injekt.get<BackupManager>() | ||||
|         val backupManager = BackupManager(context) | ||||
|         val uri = Uri.parse(preferences.backupsDirectory().getOrDefault()) | ||||
|         val flags = BackupCreateService.BACKUP_ALL | ||||
|         backupManager.createBackup(uri, flags, true) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user