Skip to content

Commit

Permalink
Fix version string on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Wavesonics committed Sep 1, 2023
1 parent aac6e1a commit 193a061
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import com.arkivanov.decompose.extensions.compose.jetbrains.subscribeAsState
import com.arkivanov.decompose.retainedComponent
import com.arkivanov.decompose.value.MutableValue
import com.arkivanov.decompose.value.getAndUpdate
import com.darkrockstudios.apps.hammer.base.BuildMetadata
import com.darkrockstudios.apps.hammer.common.components.projectroot.CloseConfirm
import com.darkrockstudios.apps.hammer.common.components.projectroot.ProjectRoot
import com.darkrockstudios.apps.hammer.common.components.projectroot.ProjectRootComponent
Expand All @@ -45,6 +44,7 @@ import com.darkrockstudios.apps.hammer.common.injectMainDispatcher
import com.darkrockstudios.apps.hammer.common.projectroot.ProjectRootFab
import com.darkrockstudios.apps.hammer.common.projectroot.ProjectRootUi
import com.darkrockstudios.apps.hammer.common.projectroot.getDestinationIcon
import com.darkrockstudios.apps.hammer.common.util.getAppVersionString
import com.seiko.imageloader.ImageLoader
import com.seiko.imageloader.LocalImageLoader
import kotlinx.coroutines.Job
Expand Down Expand Up @@ -276,7 +276,7 @@ private fun MediumNavigation(
Spacer(modifier = Modifier.weight(1f))

Text(
"v${BuildMetadata.APP_VERSION}",
getAppVersionString(),
style = MaterialTheme.typography.labelSmall,
fontWeight = FontWeight.Thin,
modifier = Modifier
Expand Down Expand Up @@ -326,7 +326,7 @@ private fun ExpandedNavigation(
Spacer(modifier = Modifier.weight(1f))

Text(
"v${BuildMetadata.APP_VERSION}",
getAppVersionString(),
modifier = Modifier
.padding(Ui.Padding.L)
.align(Alignment.Start),
Expand Down

0 comments on commit 193a061

Please sign in to comment.