Correctly strip ellipsis

Fix bug where button caption is “CHANGE DATABAS”
This commit is contained in:
Ira Hanson
2019-09-09 19:45:52 -05:00
committed by GitHub
parent e166e9f754
commit d12339bb50

View File

@@ -1127,7 +1127,7 @@ namespace keepass2android
var changeDbButton = FindViewById<Button>(Resource.Id.change_db);
string label = changeDbButton.Text;
if (label.EndsWith(""))
if (label.EndsWith("\u2026"))
changeDbButton.Text = label.Substring(0, label.Length - 1);
changeDbButton.Click += (sender, args) => GoToFileSelectActivity();