Skip to content

Commit

Permalink
Increment to version 4.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
angelix committed Jan 9, 2025
1 parent 62c4067 commit 503ec0a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [4.1.3] - 2024-01-09

### Changed
- Update dependencies
- Various bug fixes

## [4.1.2] - 2024-01-03

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import blockstream_green.common.generated.resources.Res
import blockstream_green.common.generated.resources.generic_device
import blockstream_green.common.generated.resources.blockstream_devices
import blockstream_green.common.generated.resources.id_change
import blockstream_green.common.generated.resources.id_confirm_on_your_device
import blockstream_green.common.generated.resources.id_fee
Expand Down Expand Up @@ -121,7 +121,7 @@ fun DeviceInteractionBottomSheet(
Column(horizontalAlignment = Alignment.CenterHorizontally) {

Image(
painter = painterResource(deviceIcon ?: Res.drawable.generic_device),
painter = painterResource(deviceIcon ?: Res.drawable.blockstream_devices),
contentDescription = null,
modifier = Modifier
.align(Alignment.CenterHorizontally)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,17 +171,15 @@ fun HandleSideEffectDialog(
onDismiss: CoroutineScope.() -> Unit = {},
handler: CoroutineScope.(sideEffect: SideEffect) -> Unit = {}
) {
LaunchedEffect(Unit) {
viewModel.sideEffect.onEach {
handler.invoke(this, it)
HandleSideEffect(viewModel, handler = {
handler.invoke(this, it)

when (it) {
is SideEffects.Dismiss -> {
onDismiss()
}
when (it) {
is SideEffects.Dismiss -> {
onDismiss()
}
}.collect()
}
}
})
}


Expand Down
4 changes: 2 additions & 2 deletions green/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ android {
defaultConfig {
minSdk = libs.versions.androidMinSdk.get().toInt()
targetSdk = libs.versions.androidTargetSdk.get().toInt()
versionCode = 441
versionName = "4.1.2"
versionCode = 442
versionName = "4.1.3"

setProperty("archivesBaseName", "BlockstreamGreen-v$versionName")
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
Expand Down

0 comments on commit 503ec0a

Please sign in to comment.