Skip to content

Commit

Permalink
Merge pull request #566 from lamarios/feature/wizrd-not-showing-for-n…
Browse files Browse the repository at this point in the history
…ew-user

Feature/wizrd not showing for new user
  • Loading branch information
lamarios authored Jul 21, 2024
2 parents 3f8b6d3 + 640e8f0 commit 0158c82
Show file tree
Hide file tree
Showing 26 changed files with 66 additions and 349 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
- run: ./submodules/flutter/bin/flutter pub get
- run: ./submodules/flutter/bin/dart format --output=none --set-exit-if-changed ./lib
- run: ./submodules/flutter/bin/dart analyze ./lib
# - name: Run tests with nix (starts postgres and invidious server)
# run: nix-shell --run './submodules/flutter/bin/flutter test'
# - name: Run tests with nix (starts postgres and invidious server)
# run: nix-shell --run './submodules/flutter/bin/flutter test'
- run: ./submodules/flutter/bin/flutter pub run flutter_native_splash:create
- run: ./submodules/flutter/bin/flutter build apk --profile --split-per-abi
- name: Archive build artifacts
Expand Down
6 changes: 3 additions & 3 deletions lib/channels/models/channel.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/comments/models/comment.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/comments/models/comment_replies.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/comments/models/video_comments.g.dart

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

15 changes: 0 additions & 15 deletions lib/db_reset/reset_utils.dart

This file was deleted.

51 changes: 0 additions & 51 deletions lib/db_reset/states/reset.dart

This file was deleted.

133 changes: 0 additions & 133 deletions lib/db_reset/states/reset.freezed.dart

This file was deleted.

76 changes: 0 additions & 76 deletions lib/db_reset/views/screen/reset.dart

This file was deleted.

2 changes: 1 addition & 1 deletion lib/downloads/models/downloaded_video.g.dart

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

5 changes: 1 addition & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import 'package:invidious/utils/sembast_sqflite_database.dart';
import 'package:invidious/workmanager.dart';
import 'package:logging/logging.dart';

import 'db_reset/reset_utils.dart';
import 'settings/models/db/app_logs.dart';

const brandColor = Color(0xFF4f0096);
Expand Down Expand Up @@ -60,16 +59,14 @@ Future<void> main() async {
db = await SembastSqfDb.create();
await fileDb.syncWithDb();

final needsDbMigration = await needsReset();
late final bool hasServer;
try {
await db.getCurrentlySelectedServer();
hasServer = true;
} catch (err) {
hasServer = false;
}
appRouter =
AppRouter(needsDbMigration: needsDbMigration, hasServer: hasServer);
appRouter = AppRouter(hasServer: hasServer);

initializeNotifications();

Expand Down
2 changes: 1 addition & 1 deletion lib/notifications/models/db/channel_notifications.g.dart

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

4 changes: 2 additions & 2 deletions lib/notifications/models/db/playlist_notifications.g.dart

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

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

Loading

0 comments on commit 0158c82

Please sign in to comment.