mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix placeholder text issue
This commit is contained in:
parent
10d43875ea
commit
6f32a6f098
1 changed files with 2 additions and 9 deletions
|
|
@ -768,17 +768,10 @@ namespace Flow.Launcher.ViewModel
|
|||
private string _placeholderText;
|
||||
public string PlaceholderText
|
||||
{
|
||||
get => _placeholderText;
|
||||
get => string.IsNullOrEmpty(_placeholderText) ? App.API.GetTranslation("queryTextBoxPlaceholder") : _placeholderText;
|
||||
set
|
||||
{
|
||||
if (string.IsNullOrEmpty(value))
|
||||
{
|
||||
_placeholderText = App.API.GetTranslation("queryTextBoxSuggestion");
|
||||
}
|
||||
else
|
||||
{
|
||||
_placeholderText = value;
|
||||
}
|
||||
_placeholderText = value;
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue