From aca0ed1b5de3e5610f2f31bc3a98ba1b69071712 Mon Sep 17 00:00:00 2001 From: cepprice Date: Thu, 11 Feb 2021 15:18:02 +0500 Subject: [PATCH 01/19] Fix NPE --- .../osmand/plus/track/GpxReadDescriptionDialogFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/track/GpxReadDescriptionDialogFragment.java b/OsmAnd/src/net/osmand/plus/track/GpxReadDescriptionDialogFragment.java index b652c7a3bd..2a45e23d58 100644 --- a/OsmAnd/src/net/osmand/plus/track/GpxReadDescriptionDialogFragment.java +++ b/OsmAnd/src/net/osmand/plus/track/GpxReadDescriptionDialogFragment.java @@ -200,7 +200,9 @@ public class GpxReadDescriptionDialogFragment extends BaseOsmAndDialogFragment { @Override public void onPageCommitVisible(WebView webView, String url) { super.onPageCommitVisible(webView, url); - setupDependentViews(view); + if (getActivity() != null) { + setupDependentViews(view); + } } }); loadWebviewData(); From 4a37c8ee88544295bf5a1dbbd5593b8e55417104 Mon Sep 17 00:00:00 2001 From: Skalii Date: Thu, 11 Feb 2021 12:57:59 +0200 Subject: [PATCH 02/19] fix letter spacing in favorite groups selection --- .../layout/favorite_category_dialog_item.xml | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/OsmAnd/res/layout/favorite_category_dialog_item.xml b/OsmAnd/res/layout/favorite_category_dialog_item.xml index 92aa731363..c5e3e52d7a 100644 --- a/OsmAnd/res/layout/favorite_category_dialog_item.xml +++ b/OsmAnd/res/layout/favorite_category_dialog_item.xml @@ -1,25 +1,27 @@ -