Skip to content

Commit

Permalink
Merge pull request #17740 from osmandapp/17739-fix-crash-onConfigChanged
Browse files Browse the repository at this point in the history
#17739: Fixed crash when changing system theme
  • Loading branch information
vshcherb committed Jul 28, 2023
2 parents e898e6f + dbbd9e1 commit 068a93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsmAnd/src/net/osmand/plus/activities/MapActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -2216,7 +2216,7 @@ public void onConfigurationChanged(@NonNull Configuration newConfig) {
.beginTransaction()
.detach(fragment)
.attach(fragment)
.commit();
.commitAllowingStateLoss();
}

DashboardOnMap dashboard = getDashboard();
Expand Down

0 comments on commit 068a93d

Please sign in to comment.