Added Themes + Toggle

This commit is contained in:
Patrick Hellebrand committed 2021-09-23 15:31:30 +02:00
1 parent 15679951bc
commit de2d135fdf
5 files changed
+25 -10

No files matched your search

+1
View File
@@ -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()
+1
View File
@@ -20,6 +20,7 @@ namespace PolyChat.Views
{
this.InitializeComponent();
IsPrimaryButtonEnabled = false;
RequestedTheme = MainPage.GetTheme();
}
public string getValue()