Skip to content

Commit

Permalink
Merge pull request #98 from Semper-Viventem/master
Browse files Browse the repository at this point in the history
Release 0.22.4-beta
  • Loading branch information
Semper-Viventem authored Jan 22, 2024
2 parents a19cede + c1081da commit c5e9a2b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<img src='/metadata/en-US/images/header.png'/>

# Bluetooth Radar

<a href='https://play.google.com/store/apps/details?id=f.cking.software&pcampaignid=pcampaignidMKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://github.com/Semper-Viventem/MetaRadar/assets/18288554/dd3fc41a-9b51-4747-9a2c-57b37d4706aa' width='200'/></a>
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
}
Expand Down

0 comments on commit c5e9a2b

Please sign in to comment.