private void InitThemeDropDown(CGRect rect) { themeDropDown.InitSource( ThemeTypes.ThemeCollection, (theme) => { _circleMenu.GetThemeProvider().SetCurrentTheme(theme); _circleMenu.ResetCustomization(); ResetFields(); InitSources(rect); UpdateAppearance(); }, Fields.Theme, rect); themeDropDown.SetTextFieldText(_circleMenu.GetThemeProvider().GetCurrentTheme() is LightEOSTheme ? "Light" : "Dark"); }
private void ResetCustomValues() { _circleMenu.ResetCustomization(); _mainColorDropDown.SetSpinnerSelection(0); _focusedMainColorDropDown.SetSpinnerSelection(0); _focusedButtonColorDropDown.SetSpinnerSelection(0); _unfocusedButtonColorDropDown.SetSpinnerSelection(0); _circleMenuItemsDropDown.SetSpinnerSelection(0); _circleMenu.CircleMenuItems = GenerateSource(9); }