public SettingsViewModel(IVersionService versionService, IAppSettings settings, IUserDialogs userDialogs, IMvxMessenger messenger, IMvxNavigationService navigationService) { _userDialogs = userDialogs; _messenger = messenger; Version = versionService.GetAppVersion(); Settings = settings; ChooseNearbyMarkerCountCommand = new MvxCommand(OnChooseNearbyMarkerCountCommandExecute); ChooseDistanceTypeCommand = new MvxCommand(OnChooseDistanceTypeCommandExecute); ShowUsedSoftwareCommand = new MvxCommand(() => navigationService.Navigate <UsedSoftwareViewModel>()); ShowSourcecodeCommand = new MvxCommand(() => Device.OpenUri(new Uri("https://github.com/Sebastian1989101/OpenGeoDB-App"))); ShowPrivacyPolicyCommand = new MvxCommand(() => navigationService.Navigate <LegalContentViewModel, string[]>(new[] { AppResources.ViewCell_PrivacyPolicy, AppResources.PrivacyPolicy_Content })); ShowImprintCommand = new MvxCommand(() => navigationService.Navigate <LegalContentViewModel, string[]>(new[] { AppResources.ViewCell_Imprint, AppResources.Imprint_Content })); }