Merge branch 'sync-part-final' into feat/add-sync-triggers-experimental

This commit is contained in:
KaiserBh 2024-01-07 10:07:07 +11:00
commit 2186c114d9
No known key found for this signature in database
GPG Key ID: 14D73B142042BBA9

View File

@ -129,7 +129,8 @@ class GoogleDriveSyncService(context: Context, json: Json, syncPreferences: Sync
override suspend fun pushSyncData(syncData: 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)