Archived
1
0

Core refactoring (app doesn't work)

This commit is contained in:
Michael Gordeev
2020-05-09 23:16:19 +03:00
parent 2b1f06dd93
commit 2a987e33a2
35 changed files with 1135 additions and 817 deletions
+13 -13
View File
@@ -1,15 +1,15 @@
namespace FoxTube.Core.Models
namespace FoxTube.Models
{
public class SearchSuggestion
{
public string Icon { get; set; }
public string Text { get; set; }
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" : "";
}
}
}
public SearchSuggestion(string text) : this(text, false) { }
public SearchSuggestion(string text, bool isHistoryEntry)
{
Text = text;
Icon = isHistoryEntry ? "\xE81C" : "";
}
}
}