forked from firka/firka
chore: dart fix --apply
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
|
||||||
import 'package:isar/isar.dart';
|
import 'package:isar/isar.dart';
|
||||||
part 'token_model.g.dart';
|
part 'token_model.g.dart';
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ class TokenService {
|
|||||||
// Open the Isar database
|
// Open the Isar database
|
||||||
Future<Isar> openDB() async {
|
Future<Isar> openDB() async {
|
||||||
final dir = await getApplicationDocumentsDirectory();
|
final dir = await getApplicationDocumentsDirectory();
|
||||||
return await Isar.open(
|
return Isar.open(
|
||||||
inspector: true,
|
inspector: true,
|
||||||
schemas: [TokenModelSchema],
|
schemas: [TokenModelSchema],
|
||||||
directory: dir.path,
|
directory: dir.path,
|
||||||
|
|||||||
Reference in New Issue
Block a user