chore: bump line length to 120 (#20191)

This commit is contained in:
shenlong 2025-07-25 08:07:22 +05:30 committed by GitHub
parent 977c9b96ba
commit ad65e9011a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
517 changed files with 4520 additions and 9514 deletions

View file

@ -10,8 +10,7 @@ import 'package:immich_mobile/services/timeline.service.dart';
class CurrentUserProvider extends StateNotifier<UserDto?> {
CurrentUserProvider(this._userService) : super(null) {
state = _userService.tryGetMyUser();
streamSub =
_userService.watchMyUser().listen((user) => state = user ?? state);
streamSub = _userService.watchMyUser().listen((user) => state = user ?? state);
}
final UserService _userService;
@ -30,8 +29,7 @@ class CurrentUserProvider extends StateNotifier<UserDto?> {
}
}
final currentUserProvider =
StateNotifierProvider<CurrentUserProvider, UserDto?>((ref) {
final currentUserProvider = StateNotifierProvider<CurrentUserProvider, UserDto?>((ref) {
return CurrentUserProvider(ref.watch(userServiceProvider));
});
@ -56,7 +54,6 @@ class TimelineUserIdsProvider extends StateNotifier<List<String>> {
}
}
final timelineUsersIdsProvider =
StateNotifierProvider<TimelineUserIdsProvider, List<String>>((ref) {
final timelineUsersIdsProvider = StateNotifierProvider<TimelineUserIdsProvider, List<String>>((ref) {
return TimelineUserIdsProvider(ref.watch(timelineServiceProvider));
});