Billing/Billing.Shared/SplashPage.xaml.cs
2022-03-17 21:34:26 +08:00

24 lines
469 B
C#

using Billing.UI;
using Xamarin.Forms;
namespace Billing
{
public partial class SplashPage : BillingPage
{
public SplashPage()
{
InitializeComponent();
}
protected override async void OnLoaded()
{
if (!string.IsNullOrEmpty(App.MainRoute))
{
await App.InitializeData();
await Shell.Current.GoToAsync(App.MainRoute);
}
}
}
}