mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-24 16:51:03 +00:00
reformat
This commit is contained in:
@@ -16,7 +16,7 @@ fun updateProgress(media: Media, number: String) {
|
||||
if (Anilist.userid != null) {
|
||||
CoroutineScope(Dispatchers.IO).launch {
|
||||
val a = number.toFloatOrNull()?.roundToInt()
|
||||
if ((a?:0) > (media.userProgress?:0)) {
|
||||
if ((a ?: 0) > (media.userProgress ?: 0)) {
|
||||
Anilist.mutation.editList(
|
||||
media.id,
|
||||
a,
|
||||
|
||||
Reference in New Issue
Block a user