Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLOX committed Apr 11, 2024
1 parent 2f73bc2 commit 6f253ef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions installer/Page/HelpPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@

<Label/>
<Label/>

<Label
Text="祝大家 Debug 快乐!"
FontAttributes="Bold"
Expand Down
6 changes: 3 additions & 3 deletions installer/Page/HelpPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ namespace installer.Page;

public partial class HelpPage : ContentPage
{
public HelpPage(HelpViewModel viewModel)
{
InitializeComponent();
public HelpPage(HelpViewModel viewModel)
{
InitializeComponent();
BindingContext = viewModel;
}
}
4 changes: 2 additions & 2 deletions installer/ViewModel/HelpViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ public class HelpViewModel : BaseViewModel
public List<HelpMessage> InstallerHelp { get; }
public List<HelpMessage> LauncherHelp { get; }
public List<HelpMessage> OtherHelp { get; }

public HelpViewModel()
{
InstallerHelp = new List<HelpMessage>();
LauncherHelp = new List<HelpMessage>();
OtherHelp = new List<HelpMessage>();

InstallerHelp.Add(new HelpMessage { Title = "Installer", Content = "> 下载功能需要选择空文件夹路径" });
InstallerHelp.Add(new HelpMessage { Title = "Installer", Content = "> 更新前请先进行检查更新操作" });

Expand Down

0 comments on commit 6f253ef

Please sign in to comment.