Skip to content

Commit f729431

Browse files
committed
Honor PC constraint in tag
Close moneymanagerex#2030
1 parent 671cb5d commit f729431

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/money/manager/ex/tag/TagListFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ public void onClick(DialogInterface dialog, int which) {
351351
String name = edtTagName.getText().toString();
352352

353353
// issue #2030: PC version does not support space
354-
if (name.contains(" ") || name.contains("&") || name.contains("&")) {
354+
if (name.contains(" ") || name.contains("&") || name.contains("|")) {
355355
name = name.replaceAll("[ &|]", "_");
356356
Toast.makeText(getContext(), R.string.space_replaced_with__,Toast.LENGTH_LONG).show();
357357
}

0 commit comments

Comments
 (0)