Bumped dependencies + trigger voice message player more often to have a smoother progress bar

This commit is contained in:
Sylvain Berfini 2024-09-19 14:13:38 +02:00
parent 4f10a2d1fc
commit e74ebb0d81
3 changed files with 5 additions and 5 deletions

View file

@ -891,7 +891,7 @@ class MessageModel @WorkerThread constructor(
private fun playerTickerFlow() = flow {
while (isPlayingVoiceRecord.value == true) {
emit(Unit)
delay(50)
delay(10)
}
}

View file

@ -705,7 +705,7 @@ class SendMessageInConversationViewModel @UiThread constructor() : GenericViewMo
private fun playerTickerFlow() = flow {
while (isPlayingVoiceRecord.value == true) {
emit(Unit)
delay(50)
delay(10)
}
}
}

View file

@ -3,7 +3,7 @@ agp = "8.5.2"
kotlin = "1.9.23"
gmsGoogleServices = "4.4.2"
firebaseCrashlytics = "3.0.2"
firebaseBomVersion = "33.2.0"
firebaseBomVersion = "33.3.0"
ktlint = "11.3.1"
annotations = "1.8.2"
@ -19,9 +19,9 @@ slidingpanelayout = "1.2.0"
window = "1.3.0"
gridlayout = "1.0.0"
securityCryptoKtx = "1.1.0-alpha06"
navigation = "2.8.0"
navigation = "2.8.1"
emoji2 = "1.5.0"
car = "1.7.0-beta01"
car = "1.7.0-beta02"
flexbox = "3.0.0"
material = "1.11.0"
protobuf = "3.22.3"