Added Themes + Toggle
This commit is contained in:
@@ -36,6 +36,7 @@ namespace PolyChat.Views
|
||||
Secondary = secondary.Action;
|
||||
// show
|
||||
MainPage.SafelyOpenDialog(this);
|
||||
RequestedTheme = MainPage.GetTheme();
|
||||
}
|
||||
|
||||
private void setType(string type, string message)
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace PolyChat.Views
|
||||
if (initialValue == null || initialValue.Length == 0) IsSecondaryButtonEnabled = false;
|
||||
else input.Text = initialValue;
|
||||
validate();
|
||||
RequestedTheme = MainPage.GetTheme();
|
||||
}
|
||||
|
||||
public string getValue()
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace PolyChat.Views
|
||||
{
|
||||
this.InitializeComponent();
|
||||
IsPrimaryButtonEnabled = false;
|
||||
RequestedTheme = MainPage.GetTheme();
|
||||
}
|
||||
|
||||
public string getValue()
|
||||
|
||||
Reference in New Issue
Block a user