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 691b615b02
commit d239efcf14

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)