From c4962b48c0cad80d8964784bf81808783ad2dae5 Mon Sep 17 00:00:00 2001 From: nazar-kutz <30292035+nazar-kutz@users.noreply.github.com> Date: Thu, 5 Dec 2024 12:04:15 +0200 Subject: [PATCH] Remove tracks folder immediately from UI after it was deleted --- .../plus/myplaces/tracks/dialogs/BaseTrackFolderFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/myplaces/tracks/dialogs/BaseTrackFolderFragment.java b/OsmAnd/src/net/osmand/plus/myplaces/tracks/dialogs/BaseTrackFolderFragment.java index e13f10869c2..c99cd6d8f7c 100644 --- a/OsmAnd/src/net/osmand/plus/myplaces/tracks/dialogs/BaseTrackFolderFragment.java +++ b/OsmAnd/src/net/osmand/plus/myplaces/tracks/dialogs/BaseTrackFolderFragment.java @@ -481,7 +481,7 @@ public void onFolderRenamed(@NonNull File newDir) { @Override public void onFolderDeleted() { - reloadTracks(); + reloadTracks(true); } @Override