change app directory
This commit is contained in:
19
FlowerApp/Data/Constants.cs
Normal file
19
FlowerApp/Data/Constants.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using SQLite;
|
||||
|
||||
namespace Blahblah.FlowerApp.Data;
|
||||
|
||||
public sealed class Constants
|
||||
{
|
||||
public const string CategoryOther = "other";
|
||||
public const string EventUnknown = "unknown";
|
||||
|
||||
public const string BaseUrl = "https://flower.tsanie.org";
|
||||
|
||||
public const SQLiteOpenFlags SQLiteFlags =
|
||||
SQLiteOpenFlags.ReadWrite |
|
||||
SQLiteOpenFlags.Create |
|
||||
SQLiteOpenFlags.SharedCache;
|
||||
|
||||
private const string dbFilename = "flowerstory.db3";
|
||||
public static string DatabasePath => Path.Combine(FileSystem.AppDataDirectory, dbFilename);
|
||||
}
|
||||
Reference in New Issue
Block a user