We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea8351 commit b04d84fCopy full SHA for b04d84f
1 file changed
app/src/main/kotlin/org/dokiteam/doki/core/github/AppUpdateRepository.kt
@@ -71,9 +71,9 @@ class AppUpdateRepository @Inject constructor(
71
id = json.getLong("id"),
72
url = json.getString("html_url"),
73
name = if (currentBuildType == BUILD_TYPE_LEGACY) {
74
- "C" + json.getString("tag_name")
+ "C" + json.getString("tag_name").takeLast(6)
75
} else {
76
- "P" + json.getString("tag_name")
+ "P" + json.getString("tag_name").takeLast(6)
77
},
78
apkSize = asset.getLong("size"),
79
apkUrl = asset.getString("browser_download_url"),
0 commit comments