refactor(GoogleDrive): use context.stringResource

Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
KaiserBh
2024-01-10 11:12:29 +11:00
parent 14e01514cb
commit 0366de2604

View File

@@ -247,7 +247,7 @@ class GoogleDriveSyncService(context: Context, json: Json, syncPreferences: Sync
}
} catch (e: Exception) {
Log.e("GoogleDrive", "Error deleting lock file: ${e.message}")
throw Exception(context.getString(R.string.error_deleting_google_drive_lock_file))
throw Exception(context.stringResource(MR.strings.error_deleting_google_drive_lock_file))
}
}