mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-13 18:58:53 +01:00
Remove pointless singleton
This commit is contained in:
parent
4ab4f83015
commit
6b5f62d91c
1 changed files with 0 additions and 6 deletions
|
@ -24,10 +24,6 @@ class AppDb {
|
|||
static const dirStoreName = "dirs";
|
||||
static const metaStoreName = "meta";
|
||||
|
||||
factory AppDb() => _inst;
|
||||
|
||||
AppDb._();
|
||||
|
||||
/// Run [fn] with an opened database instance
|
||||
///
|
||||
/// This function guarantees that:
|
||||
|
@ -216,8 +212,6 @@ class AppDb {
|
|||
}
|
||||
}
|
||||
|
||||
static late final _inst = AppDb._();
|
||||
|
||||
static const _fileDbStoreName = "filesDb";
|
||||
static const _fileStoreName = "files";
|
||||
|
||||
|
|
Loading…
Reference in a new issue