示例#1
0
 private void OnToggleOff()
 {
     if (view != null)
     {
         view.Dismiss();
         view = null;
     }
 }
示例#2
0
 private void OnToggleOn()
 {
     if (view == null)
     {
         view = new SettingsView(() => { launcher.SetFalse(true); });
     }
     view.Show();
 }