mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: timeline service uninitialised across routes (#19544)
This commit is contained in:
parent
f59b0bab5a
commit
15be3437bf
9 changed files with 95 additions and 139 deletions
|
|
@ -1,20 +1,18 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:immich_mobile/constants/enums.dart';
|
||||
import 'package:immich_mobile/domain/models/asset/base_asset.model.dart';
|
||||
import 'package:immich_mobile/providers/infrastructure/timeline.provider.dart';
|
||||
import 'package:immich_mobile/providers/multiselect.provider.dart';
|
||||
import 'package:immich_mobile/providers/timeline/multiselect.provider.dart';
|
||||
import 'package:immich_mobile/providers/user.provider.dart';
|
||||
import 'package:immich_mobile/services/action.service.dart';
|
||||
import 'package:immich_mobile/services/timeline.service.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
|
||||
final actionProvider = NotifierProvider<ActionNotifier, void>(
|
||||
ActionNotifier.new,
|
||||
dependencies: [
|
||||
actionServiceProvider,
|
||||
multiSelectProvider,
|
||||
timelineServiceProvider,
|
||||
multiselectProvider,
|
||||
],
|
||||
);
|
||||
|
||||
|
|
@ -32,7 +30,7 @@ class ActionResult {
|
|||
|
||||
class ActionNotifier extends Notifier<void> {
|
||||
final Logger _logger = Logger('ActionNotifier');
|
||||
late final ActionService _service;
|
||||
late ActionService _service;
|
||||
|
||||
ActionNotifier() : super();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue