Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
prijindal committed Jan 17, 2024
1 parent d71c58a commit 299b462
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/models/core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class HabbitEntry extends Table {
// tables we just defined. We'll see how to use that database class in a moment.
@DriftDatabase(tables: [HabbitEntry])
class SharedDatabase extends _$SharedDatabase {
SharedDatabase(QueryExecutor e) : super(e);
SharedDatabase(super.e);

@override
int get schemaVersion => 1;
Expand Down
2 changes: 1 addition & 1 deletion lib/models/core.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/models/native.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import 'package:drift/native.dart';
import 'package:path/path.dart' as p;
import 'package:path_provider/path_provider.dart';

import "./core.dart";
import '../helpers/logger.dart';
import "./core.dart";

SharedDatabase constructDb() {
final db = LazyDatabase(() async {
Expand Down

0 comments on commit 299b462

Please sign in to comment.