From 0366de2604d744ca3c117d0f5468ea92a9dee94c Mon Sep 17 00:00:00 2001 From: KaiserBh Date: Wed, 10 Jan 2024 11:12:29 +1100 Subject: [PATCH] refactor(GoogleDrive): use context.stringResource Signed-off-by: KaiserBh --- .../tachiyomi/data/sync/service/GoogleDriveSyncService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/GoogleDriveSyncService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/GoogleDriveSyncService.kt index 1d498d875..b2e8dfc36 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/GoogleDriveSyncService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/sync/service/GoogleDriveSyncService.kt @@ -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)) } }