diff --git a/project/Aki.Launcher/CustomControls/ModInfoCard.axaml b/project/Aki.Launcher/CustomControls/ModInfoCard.axaml index 8982a1d..b045c5b 100644 --- a/project/Aki.Launcher/CustomControls/ModInfoCard.axaml +++ b/project/Aki.Launcher/CustomControls/ModInfoCard.axaml @@ -14,9 +14,9 @@ > + VerticalAlignment="Center" + Orientation="Horizontal" Spacing="5" + > diff --git a/project/Aki.Launcher/ViewModels/ModInfoViewModel.cs b/project/Aki.Launcher/ViewModels/ModInfoViewModel.cs new file mode 100644 index 0000000..aa2177c --- /dev/null +++ b/project/Aki.Launcher/ViewModels/ModInfoViewModel.cs @@ -0,0 +1,10 @@ +using ReactiveUI; + +namespace Aki.Launcher.ViewModels; + +public class ModInfoViewModel : ViewModelBase +{ + public ModInfoViewModel(IScreen Host) : base(Host) + { + } +} \ No newline at end of file diff --git a/project/Aki.Launcher/ViewModels/ProfileViewModel.cs b/project/Aki.Launcher/ViewModels/ProfileViewModel.cs index 03d1cbe..87bc112 100644 --- a/project/Aki.Launcher/ViewModels/ProfileViewModel.cs +++ b/project/Aki.Launcher/ViewModels/ProfileViewModel.cs @@ -104,7 +104,8 @@ namespace Aki.Launcher.ViewModels } } - public void ToggleModsListCommand() => ModsListIsVisible = !ModsListIsVisible; + public void OpenModsInfoCommand() => + NavigateTo(new ModInfoViewModel(HostScreen)); public void LogoutCommand() { diff --git a/project/Aki.Launcher/Views/ModInfoView.axaml b/project/Aki.Launcher/Views/ModInfoView.axaml new file mode 100644 index 0000000..1a08ff4 --- /dev/null +++ b/project/Aki.Launcher/Views/ModInfoView.axaml @@ -0,0 +1,14 @@ + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -