Added Themes + Toggle
This commit is contained in:
1 parent
15679951bc
commit
de2d135fdf
5 files changed
+25
-10
No files matched your search
@@ -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