public SettingsMainVM() { AllowOverstretch = SettingsSetters.GetAllowOverstretch(); FadeAnimationEnabled = SettingsSetters.GetFadeAnimationEnabled(); ZoomControlsVisible = EnumToIndexConverter(SettingsSetters.GetZoomControlsVisible()); RotationControlsVisible = EnumToIndexConverter(SettingsSetters.GetRotationControlsVisible()); LengthUnit = SettingsSetters.GetLengthUnit(); BackgroundHandler(); }
public SettingsMainVM() { AllowOverstretch = SettingsSetters.GetAllowOverstretch(); FadeAnimationEnabled = SettingsSetters.GetFadeAnimationEnabled(); }
public async void UpdateContactsAccess(bool V) { _contactsaccess = await SettingsSetters.SetAccessToContacts(V); PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("ContactsAccess")); }
async void ContactHandler() { ContactsAccess = await SettingsSetters.GetAccessToContcts(); }