rename from Pixiview to Gallery

This commit is contained in:
2021-08-03 19:16:54 +08:00
parent 98676ce8b2
commit c41282a4b7
206 changed files with 7900 additions and 7891 deletions

31
Gallery/Login/LoginPage.xaml.cs Executable file
View File

@ -0,0 +1,31 @@
using System;
using Gallery.UI;
using Gallery.Utils;
namespace Gallery.Login
{
public partial class LoginPage : AdaptedPage
{
private readonly Action action;
public LoginPage(Action after)
{
InitializeComponent();
webView.UserAgent = Configs.UserAgent;
BindingContext = this;
action = after;
}
private async void Button_Clicked(object sender, EventArgs e)
{
await Navigation.PopModalAsync();
}
private async void WebView_LoginHandle(object sender, EventArgs e)
{
await Navigation.PopModalAsync();
action?.Invoke();
}
}
}