Done search field suggestions template
This commit is contained in:
@@ -142,6 +142,7 @@
|
||||
<Compile Include="Models\Inbox\InboxItem.cs" />
|
||||
<Compile Include="Models\IRefreshable.cs" />
|
||||
<Compile Include="Models\Notifications.cs" />
|
||||
<Compile Include="Models\SearchSuggestion.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Properties\FoxTube.Core.rd.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -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