mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Style
This commit is contained in:
parent
1b67b8643b
commit
b8b9359d4b
1 changed files with 2 additions and 2 deletions
|
|
@ -726,8 +726,8 @@ public class ExploreMapFragment extends CommonsDaggerSupportFragment
|
|||
title = title.replaceAll("(?i)\\.(jpg|jpeg|png|svg)$", "");
|
||||
title = title.replace("_", " ");
|
||||
//Truncate if too long because it doesn't fit the screen
|
||||
if (title.length() >43) {
|
||||
title = title.substring(0, 40) + "...";
|
||||
if (title.length() > 43) {
|
||||
title = title.substring(0, 40) + "…";
|
||||
}
|
||||
|
||||
OverlayItem item = new OverlayItem(title, authorUser, point);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue