fix: perform selected app operations in the correct order

This commit is contained in:
Ax333l 2023-10-26 09:06:42 +02:00
parent 757840b76f
commit cc897840e2

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)