using System.Windows.Input; using CommunityToolkit.Mvvm.Input; namespace Bloxstrap.ViewModels { public static class GlobalViewModel { public static ICommand OpenWebpageCommand => new RelayCommand(OpenWebpage); public static bool IsNotFirstRun => !App.IsFirstRun; private static void OpenWebpage(string? location) { if (location is null) return; Utilities.OpenWebsite(location); } } }