Added Themes + Toggle

This commit is contained in:
Patrick Hellebrand authored and Felix Hartmann (PEA3-Fe-FI) committed 2021-09-24 08:59:07 +02:00
1 parent 4c0413e7d8
commit 5c4b4373d6
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()