mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-15 15:02:49 +01:00
refactor(GoogleDrive): use context.stringResource
Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
parent
14e01514cb
commit
0366de2604
@ -247,7 +247,7 @@ class GoogleDriveSyncService(context: Context, json: Json, syncPreferences: Sync
|
|||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
Log.e("GoogleDrive", "Error deleting lock file: ${e.message}")
|
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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user