Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Commit

Permalink
Fix module location textbox bug and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
wingio committed Mar 12, 2024
1 parent 30bd047 commit 5e35d97
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
applicationId = "dev.beefers.vendetta.manager"
minSdk = 28
targetSdk = 34
versionCode = 1122
versionName = "1.1.22"
versionCode = 1123
versionName = "1.1.23"

buildConfigField("String", "GIT_BRANCH", "\"${getCurrentBranch()}\"")
buildConfigField("String", "GIT_COMMIT", "\"${getLatestCommit()}\"")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ class DeveloperSettings: Screen {
else -> null
}

var moduleLocation by remember {
mutableStateOf(prefs.moduleLocation.absolutePath)
}

Scaffold(
topBar = { TitleBar(scrollBehavior) },
contentWindowInsets = WindowInsets(0, 0, 0, 0),
Expand Down Expand Up @@ -114,8 +118,9 @@ class DeveloperSettings: Screen {
SettingsTextField(
label = stringResource(R.string.settings_module_location),
supportingText = stringResource(R.string.settings_module_location_description),
pref = prefs.moduleLocation.absolutePath,
pref = moduleLocation,
onPrefChange = {
moduleLocation = it
prefs.moduleLocation = File(it)
}
)
Expand Down

0 comments on commit 5e35d97

Please sign in to comment.