Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ExpenseTracker/ExpenseTracker/App.xaml.cs
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
44 lines (38 sloc)
1.03 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ExpenseTracker.views.auth; | |
using ExpenseTracker.views.home; | |
using System; | |
using Xamarin.Essentials; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace ExpenseTracker | |
{ | |
public partial class App : Application | |
{ | |
public App() | |
{ | |
InitializeComponent(); | |
/*if (!string.IsNullOrEmpty(Preferences.Get("MyFirebaseRefreshToken", ""))) | |
{ | |
MainPage = new NavigationPage(new Home()); | |
} | |
else | |
{ | |
MainPage = new NavigationPage(new LoginPage()); | |
}*/ | |
// MainPage = new NavigationPage(new LoginPage()); | |
MainPage = new NavigationPage(new LoginPage()); | |
// MainPage = new HomePage(); | |
//MainPage = Navigat new LoginPage(); | |
//MainPage = new MainPage(); | |
} | |
protected override void OnStart() | |
{ | |
} | |
protected override void OnSleep() | |
{ | |
} | |
protected override void OnResume() | |
{ | |
} | |
} | |
} |