mirror of
https://github.com/LukeHagar/immich.git
synced 2025-12-07 20:47:48 +00:00
chore: bump line length to 120 (#20191)
This commit is contained in:
@@ -22,15 +22,13 @@ extension LogOnError<T> on AsyncValue<T> {
|
||||
}
|
||||
|
||||
if (!skip) {
|
||||
return onLoading?.call() ??
|
||||
const Center(child: ImmichLoadingIndicator());
|
||||
return onLoading?.call() ?? const Center(child: ImmichLoadingIndicator());
|
||||
}
|
||||
}
|
||||
|
||||
if (hasError && !hasValue) {
|
||||
_asyncErrorLogger.severe('Could not load value', error, stackTrace);
|
||||
return onError?.call(error, stackTrace) ??
|
||||
ScaffoldErrorBody(errorMsg: error?.toString());
|
||||
return onError?.call(error, stackTrace) ?? ScaffoldErrorBody(errorMsg: error?.toString());
|
||||
}
|
||||
|
||||
return onData(requireValue);
|
||||
|
||||
Reference in New Issue
Block a user