Skip to content

Commit

Permalink
Fix for translator is loaded state not being reset on ScanBarcodeScre…
Browse files Browse the repository at this point in the history
…en start.

Upping versionCode to 71.
  • Loading branch information
Dima-Android committed Jun 4, 2024
1 parent 1325144 commit 57d8fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ internal class ScanBarcodeViewModel @Inject constructor(
}

private fun setupTranslatorLoadedObserving() {
translatorLoadedEventStream.emit(false) //reset the translator loaded indicator before initializing the translator
translatorLoadedEventStream.flow()
.filter { it == true }
.onEach { _ ->
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/BuildConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ object BuildConfig {
const val compileSdkVersion = 34
const val targetSdk = 33

val versionCode = 70 // Must be updated on every build
val versionCode = 71 // Must be updated on every build
val version = Version(
major = 1,
minor = 0,
Expand Down

0 comments on commit 57d8fad

Please sign in to comment.