Skip to content

Commit

Permalink
Fix crash when toggling app package
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseDreki committed Feb 2, 2024
1 parent 08da01b commit 149b3b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nativeMain/kotlin/ui/AppPresenter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class AppPresenter(
Logger.d("${context()} !DeselectSelectAppByPackage")
appStateFlow.filterByPackage(f.first, false)
dogcat(ResetFilter(ByPackage::class))
} else {
} else if (f.first != null) {
Logger.d("${context()} !SelectAppByPackage")
dogcat(Start.PickAppPackage(f.first!!.packageName))
appStateFlow.filterByPackage(f.first, true)
Expand Down

0 comments on commit 149b3b6

Please sign in to comment.