From 02af66e57e6a45629088ecd94f5ef783b646dbc6 Mon Sep 17 00:00:00 2001 From: velichkomarija Date: Mon, 19 Oct 2020 14:18:50 +0300 Subject: [PATCH] [android] fix string in whats new. --- android/res/values/arrays.xml | 2 +- .../com/mapswithme/maps/bookmarks/data/BookmarkCategory.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/android/res/values/arrays.xml b/android/res/values/arrays.xml index 2e3ddb23ec..8ebf3c2e9c 100644 --- a/android/res/values/arrays.xml +++ b/android/res/values/arrays.xml @@ -7,7 +7,7 @@ - whatsnew_lp_integration_title + whatsnew_lp_title diff --git a/android/src/com/mapswithme/maps/bookmarks/data/BookmarkCategory.java b/android/src/com/mapswithme/maps/bookmarks/data/BookmarkCategory.java index 8edfca49f6..a69b3f0acb 100644 --- a/android/src/com/mapswithme/maps/bookmarks/data/BookmarkCategory.java +++ b/android/src/com/mapswithme/maps/bookmarks/data/BookmarkCategory.java @@ -267,12 +267,14 @@ public class BookmarkCategory implements Parcelable return 0; } + @NonNull public static String getRepresentation(@NonNull Context context, @NonNull Author author) { Resources res = context.getResources(); return String.format(res.getString(R.string.author_name_by_prefix), author.getName()); } + @NonNull public static String getContentByString(@NonNull Context context, @NonNull Author author) { Resources res = context.getResources();