File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/main/java/fr/free/nrw/commons/nearby Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ private void setMapFragment() {
318
318
Fragment fragment = new NearbyMapFragment ();
319
319
fragment .setArguments (bundle );
320
320
fragmentTransaction .replace (R .id .container , fragment );
321
- fragmentTransaction .commit ();
321
+ fragmentTransaction .commitAllowingStateLoss ();
322
322
}
323
323
324
324
/**
@@ -329,7 +329,7 @@ private void setListFragment() {
329
329
Fragment fragment = new NearbyListFragment ();
330
330
fragment .setArguments (bundle );
331
331
fragmentTransaction .replace (R .id .container , fragment );
332
- fragmentTransaction .commit ();
332
+ fragmentTransaction .commitAllowingStateLoss ();
333
333
}
334
334
335
335
public static void startYourself (Context context ) {
You can’t perform that action at this time.
0 commit comments