fix(reactions): Fix progress bar advancing too slowly

This commit is contained in:
octoshrimpy
2026-09-18 18:12:10 -06:00
committed by Inhishonor
parent 41ac7ffe53
commit 5805b6b7bb
@@ -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")