Skip to content

Commit

Permalink
Merge pull request #20393 from wordpress-mobile/issue/20343-fix-orien…
Browse files Browse the repository at this point in the history
…tation-change-issue-on-stats

Fix the stats screen issue that occurs with changing orientation
  • Loading branch information
irfano authored Mar 3, 2024
2 parents a25f785 + 6cc82f0 commit 50f27a4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ abstract class StatsListViewModel(
}

fun start() {
if (!isInitialized) {
if (isInitialized) {
mutableUiSourceAdded.call()
} else {
isInitialized = true
setUiLiveData()
launch {
Expand Down

0 comments on commit 50f27a4

Please sign in to comment.