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) {
|
||||
String name = action.getName(getContext());
|
||||
if (action.getActionNameRes() != 0 && !action.isActionEditable()) {
|
||||
String actionName;
|
||||
if (getString(action.getActionNameRes()).contains("Show/hide")) {
|
||||
actionName = getString(action.getActionNameRes());
|
||||
if (!name.contains(getString(R.string.quick_action_show_hide_title))) {
|
||||
String actionName = getString(action.getActionNameRes());
|
||||
nameEditText.setText(getString(R.string.ltr_or_rtl_combine_via_dash, actionName, name));
|
||||
} else {
|
||||
actionName = "";
|
||||
nameEditText.setText(getString(R.string.ltr_or_rtl_combine_via_space, actionName, name));
|
||||
nameEditText.setText(name);
|
||||
}
|
||||
} else {
|
||||
nameEditText.setText(name);
|
||||
|
|
Loading…
Reference in a new issue