mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 21:58:53 +01:00
fix(reactions): Fix progress bar advancing too slowly
This commit is contained in:
@@ -346,6 +346,7 @@ class EmojiReactionRepositoryImpl @Inject constructor(
|
|||||||
targetMessage,
|
targetMessage,
|
||||||
realm,
|
realm,
|
||||||
)
|
)
|
||||||
|
}
|
||||||
progress++
|
progress++
|
||||||
// Update the progress every 25 messages, and then at completion
|
// Update the progress every 25 messages, and then at completion
|
||||||
// that way we don't spam the UI
|
// that way we don't spam the UI
|
||||||
@@ -359,7 +360,6 @@ class EmojiReactionRepositoryImpl @Inject constructor(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
val endTime = System.currentTimeMillis()
|
val endTime = System.currentTimeMillis()
|
||||||
Timber.d("Deleted and reparsed all emoji reactions in ${endTime - startTime}ms")
|
Timber.d("Deleted and reparsed all emoji reactions in ${endTime - startTime}ms")
|
||||||
|
|||||||
Reference in New Issue
Block a user