Add alert sound theme support
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Filtration.ThemeEditor.ViewModels
|
||||
{
|
||||
public class StrIntThemeComponentViewModel : ThemeComponentViewModel
|
||||
{
|
||||
public int Value { get; set; }
|
||||
public int SecondValue { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -205,6 +205,9 @@ namespace Filtration.ThemeEditor.ViewModels
|
||||
case ThemeComponentType.FontSize:
|
||||
Components.Add(new IntegerThemeComponent(themeComponentType, "Untitled Component", 35));
|
||||
break;
|
||||
case ThemeComponentType.AlertSound:
|
||||
Components.Add(new StrIntThemeComponent(themeComponentType, "Untitled Component", "1", 100));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user