Skip to content

Commit

Permalink
#17739: Fixed crash when changing system theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Corwin-Kh committed Jul 27, 2023
1 parent 65bc393 commit dbbd9e1
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 dbbd9e1

Please sign in to comment.