fix: perform selected app operations in the correct order

This commit is contained in:
Ax333l
2023-10-26 09:06:42 +02:00
committed by oSumAtrIX
parent a9171e17bd
commit 34cf848baa

View File

@@ -42,8 +42,8 @@ class SelectedAppInfoViewModel(input: Params) : ViewModel(), KoinComponent {
var selectedApp
get() = _selectedApp
set(value) {
invalidateSelectedAppInfo()
_selectedApp = value
invalidateSelectedAppInfo()
}
var selectedAppInfo: PackageInfo? by mutableStateOf(null)