File tree Expand file tree Collapse file tree 4 files changed +17
-13
lines changed
compose/src/commonMain/kotlin/com/blockstream/compose Expand file tree Collapse file tree 4 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file.
33
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
55
6+ ## [ 4.1.3] - 2024-01-09
7+
8+ ### Changed
9+ - Update dependencies
10+ - Various bug fixes
11+
612## [ 4.1.2] - 2024-01-03
713
814### Added
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import androidx.compose.ui.Modifier
1616import androidx.compose.ui.text.style.TextAlign
1717import androidx.compose.ui.unit.dp
1818import blockstream_green.common.generated.resources.Res
19- import blockstream_green.common.generated.resources.generic_device
19+ import blockstream_green.common.generated.resources.blockstream_devices
2020import blockstream_green.common.generated.resources.id_change
2121import blockstream_green.common.generated.resources.id_confirm_on_your_device
2222import blockstream_green.common.generated.resources.id_fee
@@ -121,7 +121,7 @@ fun DeviceInteractionBottomSheet(
121121 Column (horizontalAlignment = Alignment .CenterHorizontally ) {
122122
123123 Image (
124- painter = painterResource(deviceIcon ? : Res .drawable.generic_device ),
124+ painter = painterResource(deviceIcon ? : Res .drawable.blockstream_devices ),
125125 contentDescription = null ,
126126 modifier = Modifier
127127 .align(Alignment .CenterHorizontally )
Original file line number Diff line number Diff line change @@ -171,17 +171,15 @@ fun HandleSideEffectDialog(
171171 onDismiss : CoroutineScope .() -> Unit = {},
172172 handler : CoroutineScope .(sideEffect: SideEffect ) -> Unit = {}
173173) {
174- LaunchedEffect (Unit ) {
175- viewModel.sideEffect.onEach {
176- handler.invoke(this , it)
174+ HandleSideEffect (viewModel, handler = {
175+ handler.invoke(this , it)
177176
178- when (it) {
179- is SideEffects .Dismiss -> {
180- onDismiss()
181- }
177+ when (it) {
178+ is SideEffects .Dismiss -> {
179+ onDismiss()
182180 }
183- }.collect()
184- }
181+ }
182+ })
185183}
186184
187185
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ android {
4040 defaultConfig {
4141 minSdk = libs.versions.androidMinSdk.get().toInt()
4242 targetSdk = libs.versions.androidTargetSdk.get().toInt()
43- versionCode = 441
44- versionName = " 4.1.2 "
43+ versionCode = 442
44+ versionName = " 4.1.3 "
4545
4646 setProperty(" archivesBaseName" , " BlockstreamGreen-v$versionName " )
4747 proguardFiles(getDefaultProguardFile(" proguard-android-optimize.txt" ), " proguard-rules.pro" )
You can’t perform that action at this time.
0 commit comments