public AppSettingPage() { InitializeComponent(); // iOS Platform On <Xamarin.Forms.PlatformConfiguration.iOS>().SetUseSafeArea(true); AppSettingVM = new AppSettingPageVM(this.Navigation); this.BindingContext = AppSettingVM; }
public AppSettingPage() { InitializeComponent(); // iOS Platform On <Xamarin.Forms.PlatformConfiguration.iOS>().SetUseSafeArea(true); AppSettingVM = new AppSettingPageVM(this.Navigation); this.BindingContext = AppSettingVM; if (!string.IsNullOrEmpty(Helpers.Settings.GeneralIsNotification)) { SwtchNotification.IsToggled = true; } if (!string.IsNullOrEmpty(Helpers.Settings.GeneralIsSound)) { SwtchSound.IsToggled = true; } if (!string.IsNullOrEmpty(Helpers.Settings.GeneralIsVibrate)) { SwtchVibrate.IsToggled = true; } }