We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10d4387 commit 6f32a6fCopy full SHA for 6f32a6f
Flow.Launcher/ViewModel/MainViewModel.cs
@@ -768,17 +768,10 @@ private ResultsViewModel SelectedResults
768
private string _placeholderText;
769
public string PlaceholderText
770
{
771
- get => _placeholderText;
+ get => string.IsNullOrEmpty(_placeholderText) ? App.API.GetTranslation("queryTextBoxPlaceholder") : _placeholderText;
772
set
773
774
- if (string.IsNullOrEmpty(value))
775
- {
776
- _placeholderText = App.API.GetTranslation("queryTextBoxSuggestion");
777
- }
778
- else
779
780
- _placeholderText = value;
781
+ _placeholderText = value;
782
OnPropertyChanged();
783
}
784
0 commit comments