mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-15 15:02:49 +01:00
Merge branch 'sync-part-final' into feat/add-sync-triggers-experimental
This commit is contained in:
commit
2186c114d9
@ -129,7 +129,8 @@ class GoogleDriveSyncService(context: Context, json: Json, syncPreferences: Sync
|
|||||||
|
|
||||||
override suspend fun pushSyncData(syncData: SyncData) {
|
override suspend fun pushSyncData(syncData: SyncData) {
|
||||||
val jsonData = json.encodeToString(syncData)
|
val jsonData = json.encodeToString(syncData)
|
||||||
val drive = googleDriveService.driveService ?: throw Exception(context.getString(R.string.google_drive_not_signed_in))
|
val drive = googleDriveService.driveService
|
||||||
|
?: throw Exception(context.getString(R.string.google_drive_not_signed_in))
|
||||||
|
|
||||||
val fileList = getFileList(drive)
|
val fileList = getFileList(drive)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user