From 4fd0fe31941d1b09b03e6ed5380176b000b26358 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Fri, 24 May 2019 15:51:18 +0200 Subject: [PATCH] Fixed repo not being correctly marked as jsonclass hence it crashed when fetching obfuscated --- .../main/java/com/topjohnwu/magisk/model/entity/GithubRepo.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/topjohnwu/magisk/model/entity/GithubRepo.kt b/app/src/main/java/com/topjohnwu/magisk/model/entity/GithubRepo.kt index a77b271dd..5669cf54d 100644 --- a/app/src/main/java/com/topjohnwu/magisk/model/entity/GithubRepo.kt +++ b/app/src/main/java/com/topjohnwu/magisk/model/entity/GithubRepo.kt @@ -1,10 +1,12 @@ package com.topjohnwu.magisk.model.entity import com.squareup.moshi.Json +import com.squareup.moshi.JsonClass import com.topjohnwu.magisk.utils.timeFormatStandard import com.topjohnwu.magisk.utils.toTime import timber.log.Timber +@JsonClass(generateAdapter = true) data class GithubRepo( @Json(name = "name") val name: String, @Json(name = "updated_at") val updatedAt: String