new themes

This commit is contained in:
Finnley Somdahl 2023-10-26 02:08:35 -05:00
parent 20bea76e6c
commit 1eb85d4419
6 changed files with 272 additions and 8 deletions

View file

@ -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 != media.userProgress) {
if ((a?:0) > (media.userProgress?:0)) {
Anilist.mutation.editList(
media.id,
a,