Review
This commit is contained in:
parent
2c43cf8b93
commit
5d3e7fd0d2
1 changed files with 3 additions and 5 deletions
|
@ -223,13 +223,11 @@ public class CreateEditActionDialog extends DialogFragment
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
String name = action.getName(getContext());
|
String name = action.getName(getContext());
|
||||||
if (action.getActionNameRes() != 0 && !action.isActionEditable()) {
|
if (action.getActionNameRes() != 0 && !action.isActionEditable()) {
|
||||||
String actionName;
|
if (!name.contains(getString(R.string.quick_action_show_hide_title))) {
|
||||||
if (getString(action.getActionNameRes()).contains("Show/hide")) {
|
String actionName = getString(action.getActionNameRes());
|
||||||
actionName = getString(action.getActionNameRes());
|
|
||||||
nameEditText.setText(getString(R.string.ltr_or_rtl_combine_via_dash, actionName, name));
|
nameEditText.setText(getString(R.string.ltr_or_rtl_combine_via_dash, actionName, name));
|
||||||
} else {
|
} else {
|
||||||
actionName = "";
|
nameEditText.setText(name);
|
||||||
nameEditText.setText(getString(R.string.ltr_or_rtl_combine_via_space, actionName, name));
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
nameEditText.setText(name);
|
nameEditText.setText(name);
|
||||||
|
|
Loading…
Reference in a new issue