Skip to content

Commit

Permalink
Updated app version to v1.0.9 (With small fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
polodarb authored Nov 5, 2023
2 parents e374057 + 17fdf71 commit f28e3de
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ fun FlagChangeScreen(
viewModel.deleteOverriddenFlagByPackage(packageName = packageName.toString())
viewModel.initAllFlags()
viewModel.initAllOverriddenFlagsByPackage(packageName.toString())
viewModel.filterMethod = viewModel.filterMethod
}
},
onOpenAppDetailsSettings = {
Expand Down Expand Up @@ -871,7 +872,8 @@ fun FlagChangeScreen(
name = flagAddName,
boolVal = if (flagBoolean == 0) "1" else "0"
)
Toast.makeText(context, "bool", Toast.LENGTH_SHORT).show()
viewModel.initBoolValues()
viewModel.initOverriddenBoolFlags(packageName.toString())
}

1 -> {
Expand All @@ -880,7 +882,8 @@ fun FlagChangeScreen(
name = flagAddName,
intVal = flagAddValue
)
Toast.makeText(context, "int", Toast.LENGTH_SHORT).show()
viewModel.initIntValues()
viewModel.initOverriddenIntFlags(packageName.toString())
}

2 -> {
Expand All @@ -889,7 +892,8 @@ fun FlagChangeScreen(
name = flagAddName,
floatVal = flagAddValue
)
Toast.makeText(context, "float", Toast.LENGTH_SHORT).show()
viewModel.initFloatValues()
viewModel.initOverriddenFloatFlags(packageName.toString())
}

3 -> {
Expand All @@ -898,10 +902,11 @@ fun FlagChangeScreen(
name = flagAddName,
stringVal = flagAddValue
)
Toast.makeText(context, "string", Toast.LENGTH_SHORT).show()
viewModel.initStringValues()
viewModel.initOverriddenStringFlags(packageName.toString())
}
}
viewModel.initAllOverriddenFlagsByPackage(packageName.toString())
viewModel.filterMethod = viewModel.filterMethod
viewModel.clearPhenotypeCache(packageName.toString())
dropDownExpanded = false
showAddFlagDialog.value = false
Expand Down

0 comments on commit f28e3de

Please sign in to comment.