Remove else block with rtl and ltr combine
This commit is contained in:
parent
a5fce381d5
commit
f8cd551085
1 changed files with 1 additions and 7 deletions
|
@ -187,13 +187,7 @@ public class TerrainFragment extends BaseOsmAndFragment implements View.OnClickL
|
|||
getString(R.string.slope_read_more),
|
||||
wikiString
|
||||
);
|
||||
boolean isArabicLocale = Locale.getDefault().getLanguage().equals("ar");
|
||||
String emptyStateText;
|
||||
if (isArabicLocale) {
|
||||
emptyStateText = getString(R.string.terrain_empty_state_text) + "\n" + PLUGIN_URL;
|
||||
} else {
|
||||
emptyStateText = String.format(getString(R.string.ltr_or_rtl_combine_via_space), getString(R.string.terrain_empty_state_text), PLUGIN_URL);
|
||||
}
|
||||
String emptyStateText = getString(R.string.terrain_empty_state_text) + "\n" + PLUGIN_URL;
|
||||
setupClickableText(slopeReadMoreTv, readMoreText, wikiString, SLOPES_WIKI_URL, false);
|
||||
setupClickableText(emptyStateDescriptionTv, emptyStateText, PLUGIN_URL, PLUGIN_URL, true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue