diff --git a/README.md b/README.md index 80f117b..c920264 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # Bluetooth Radar Get it on Google Play diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 03fea4d..fb6aa0c 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -26,8 +26,8 @@ android { // This version code will be applied only for F-Droid builds, for other builds version code will be generated by gradle dynamically // For some reason F-Droid requires version code to be hardcoded in the build.gradle file - versionCode = 1705859017 - versionName = "0.22.3-beta" + versionCode = 1705859018 + versionName = "0.22.4-beta" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/java/f/cking/software/ui/devicelist/DeviceListScreen.kt b/app/src/main/java/f/cking/software/ui/devicelist/DeviceListScreen.kt index 107ce2e..32fbc65 100644 --- a/app/src/main/java/f/cking/software/ui/devicelist/DeviceListScreen.kt +++ b/app/src/main/java/f/cking/software/ui/devicelist/DeviceListScreen.kt @@ -213,8 +213,8 @@ object DeviceListScreen { private fun ExpandIcon(viewModel: DeviceListViewModel) { val state = viewModel.activeScannerExpandedState val icon = when (state) { - DeviceListViewModel.ActiveScannerExpandedState.COLLAPSED -> painterResource(id = R.drawable.ic_show_less) - DeviceListViewModel.ActiveScannerExpandedState.EXPANDED -> painterResource(id = R.drawable.ic_show_more) + DeviceListViewModel.ActiveScannerExpandedState.COLLAPSED -> painterResource(id = R.drawable.ic_show_more) + DeviceListViewModel.ActiveScannerExpandedState.EXPANDED -> painterResource(id = R.drawable.ic_show_less) } IconButton(onClick = { viewModel.activeScannerExpandedState = state.next() }) { Icon( diff --git a/app/src/main/java/f/cking/software/utils/graphic/ComposeFunctions.kt b/app/src/main/java/f/cking/software/utils/graphic/ComposeFunctions.kt index 3273b4a..4262fc0 100644 --- a/app/src/main/java/f/cking/software/utils/graphic/ComposeFunctions.kt +++ b/app/src/main/java/f/cking/software/utils/graphic/ComposeFunctions.kt @@ -334,11 +334,7 @@ fun DeviceListItem( ) } Text( - text = stringResource( - R.string.lifetime_data, - device.firstDetectionPeriod(LocalContext.current), - device.lastDetectionPeriod(LocalContext.current) - ), + text = updateStr, fontWeight = FontWeight.Light, ) }