Skip to content
Permalink
eb9ffc6ce5
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
49 lines (44 sloc) 1.03 KB
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using UEngage.Data;
using UEngage.Models;
namespace UEngage
{
public partial class App : Application
{
/*static UserDatabase database;
public static NoteDatabase Database
{
get
{
if (database == null){
database = new NoteDatabase(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Notes.db3"));
}
return database;
}
}*/
public App()
{
InitializeComponent();
bool loggedin = true;
if (loggedin)
{
MainPage = new Tabbed();
}
else
{
MainPage = new Login();
}
}
protected override void OnStart()
{
}
protected override void OnSleep()
{
}
protected override void OnResume()
{
}
}
}