mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-15 15:02:49 +01:00
chore: lint
Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
parent
542ad22c93
commit
205d34358c
@ -138,7 +138,7 @@ class GoogleDriveSyncService(context: Context, json: Json, syncPreferences: Sync
|
|||||||
try {
|
try {
|
||||||
val gzipInputStream = GZIPInputStream(ByteArrayInputStream(outputStream.toByteArray()))
|
val gzipInputStream = GZIPInputStream(ByteArrayInputStream(outputStream.toByteArray()))
|
||||||
val syncData = json.decodeFromString<SyncData>(gzipInputStream.reader(Charsets.UTF_8).readText())
|
val syncData = json.decodeFromString<SyncData>(gzipInputStream.reader(Charsets.UTF_8).readText())
|
||||||
logcat(LogPriority.DEBUG) { "JSON deserialized successfully with kotlinx.serialization" }
|
logcat(LogPriority.DEBUG) { "JSON deserialized successfully" }
|
||||||
syncData
|
syncData
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
logcat(
|
logcat(
|
||||||
|
Loading…
Reference in New Issue
Block a user