Done search field suggestions template
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace FoxTube.Core.Models
|
||||
{
|
||||
public class SearchSuggestion
|
||||
{
|
||||
public string Icon { get; set; }
|
||||
public string Text { get; set; }
|
||||
|
||||
public SearchSuggestion(string text) : this(text, false) { }
|
||||
public SearchSuggestion(string text, bool isHistoryEntry)
|
||||
{
|
||||
Text = text;
|
||||
Icon = isHistoryEntry ? "\xE81C" : "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user