Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Feb 18, 2025
1 parent 0c8dc3a commit c1a53bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mobile/lib/services/preview_video_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class PreviewVideoStore {
Bus.instance.fire(PreviewUpdatedEvent(_items));
return;
} catch (e, s) {
if (e is DioError && e.response?.statusCode == 404) {
if (e is DioException && e.response?.statusCode == 404) {
_logger.info("No preview found for $enteFile");
} else {
_logger.warning("Failed to get playlist for $enteFile", e, s);
Expand Down
2 changes: 1 addition & 1 deletion mobile/lib/ui/tabs/home_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import 'dart:async';
import "dart:convert";
import "dart:io";

import "package:ente_crypto/ente_crypto.dart";
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter/services.dart';
Expand Down Expand Up @@ -66,7 +67,6 @@ import "package:photos/ui/viewer/gallery/shared_public_collection_page.dart";
import "package:photos/ui/viewer/search/search_widget.dart";
import 'package:photos/ui/viewer/search_tab/search_tab.dart';
import "package:photos/utils/collection_util.dart";
import "package:ente_crypto/ente_crypto.dart";
import 'package:photos/utils/dialog_util.dart';
import "package:photos/utils/diff_fetcher.dart";
import "package:photos/utils/navigation_util.dart";
Expand Down

0 comments on commit c1a53bd

Please sign in to comment.