Skip to content
Permalink
master
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
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using UEngage.Data;
using UEngage.Models;
using System.IO;
namespace UEngage
{
public partial class App : Application
{
static UEngageDatabase database;
public static UEngageDatabase Database
{
get
{
if (database == null){
database = new UEngageDatabase(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "UEngage.db3"));
}
return database;
}
}
public App()
{
MainPage = new Login();
//if (Xamarin.Essentials.Preferences.Get("log", false))
//{
// MainPage = new Tabbed();
//}
//else
//{
// MainPage = new Login();
//}
}
protected override void OnStart()
{
}
protected override void OnSleep()
{
}
protected override void OnResume()
{
}
}
}