mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 22:45:44 +00:00
database.db => library.db
This commit is contained in:
parent
851ad3e4af
commit
2230ddea79
12 changed files with 28 additions and 24 deletions
|
|
@ -2,6 +2,7 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using Foundation;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
[assembly: Xamarin.Forms.Dependency(typeof(AideDeJeu.Droid.Version_Android))]
|
||||
namespace AideDeJeu.Droid
|
||||
|
|
@ -22,9 +23,9 @@ namespace AideDeJeu.Droid
|
|||
return res ? build : 0;
|
||||
}
|
||||
|
||||
public string GetDatabasePath(string databaseName)
|
||||
public async Task<string> GetDatabasePathAsync(string databaseName)
|
||||
{
|
||||
return NSBundle.MainBundle.PathForResource("database", "db");
|
||||
return NSBundle.MainBundle.PathForResource("library", "db");
|
||||
//var databasePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "..", "Library", databaseName);
|
||||
//return databasePath;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue