run formatter
This commit is contained in:
@@ -69,7 +69,11 @@ class EngineBoundIntentStream extends _$EngineBoundIntentStream {
|
||||
]).listen(
|
||||
controller.add,
|
||||
onError: (Object error, StackTrace stackTrace) {
|
||||
logger.e('Intent stream error', error: error, stackTrace: stackTrace);
|
||||
logger.e(
|
||||
'Intent stream error',
|
||||
error: error,
|
||||
stackTrace: stackTrace,
|
||||
);
|
||||
controller.addError(error, stackTrace);
|
||||
},
|
||||
onDone: controller.close,
|
||||
|
||||
+3
-1
@@ -1010,7 +1010,9 @@ class NavigateBackButton extends HookConsumerWidget {
|
||||
}
|
||||
}
|
||||
: null,
|
||||
icon: isLoading ? const Icon(Icons.close) : const Icon(Icons.arrow_back),
|
||||
icon: isLoading
|
||||
? const Icon(Icons.close)
|
||||
: const Icon(Icons.arrow_back),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
+3
-1
@@ -302,7 +302,9 @@ class _BrowserViewState extends ConsumerState<BrowserView>
|
||||
|
||||
await router.push(route.location);
|
||||
} else {
|
||||
throw UnimplementedError('Unknown quick action shortcut type');
|
||||
throw UnimplementedError(
|
||||
'Unknown quick action shortcut type',
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
+3
-1
@@ -82,7 +82,9 @@ class _TabDraggable extends HookConsumerWidget {
|
||||
sourceSearchQuery: switch (entity) {
|
||||
DefaultTabEntity _ => null,
|
||||
final SearchResultTabEntity entity => entity.searchQuery,
|
||||
TabTreeEntity _ => throw UnimplementedError('TabTreeEntity not implemented in tab grid view'),
|
||||
TabTreeEntity _ => throw UnimplementedError(
|
||||
'TabTreeEntity not implemented in tab grid view',
|
||||
),
|
||||
},
|
||||
);
|
||||
}, [entity.tabId, activeTab, suggestedContainerId]);
|
||||
|
||||
+3
-1
@@ -83,7 +83,9 @@ class _TabDraggable extends HookConsumerWidget {
|
||||
sourceSearchQuery: switch (entity) {
|
||||
DefaultTabEntity _ => null,
|
||||
final SearchResultTabEntity entity => entity.searchQuery,
|
||||
TabTreeEntity _ => throw UnimplementedError('TabTreeEntity not implemented in tab list view'),
|
||||
TabTreeEntity _ => throw UnimplementedError(
|
||||
'TabTreeEntity not implemented in tab list view',
|
||||
),
|
||||
},
|
||||
);
|
||||
}, [entity.tabId, activeTab, suggestedContainerId]);
|
||||
|
||||
+5
-1
@@ -486,7 +486,11 @@ class TabViewHeader extends HookConsumerWidget {
|
||||
);
|
||||
}
|
||||
} catch (e, s) {
|
||||
logger.e('Failed to clear container data', error: e, stackTrace: s);
|
||||
logger.e(
|
||||
'Failed to clear container data',
|
||||
error: e,
|
||||
stackTrace: s,
|
||||
);
|
||||
if (context.mounted) {
|
||||
ui_helper.showErrorMessage(
|
||||
context,
|
||||
|
||||
@@ -171,7 +171,9 @@ class Section extends MultiSliver {
|
||||
VisitType.download => const Text('Download'),
|
||||
VisitType.framedLink => const Text('Frame'),
|
||||
VisitType.reload => const Text('Page Reload'),
|
||||
VisitType.bookmark => throw UnimplementedError('VisitType.bookmark chip display not implemented'),
|
||||
VisitType.bookmark => throw UnimplementedError(
|
||||
'VisitType.bookmark chip display not implemented',
|
||||
),
|
||||
},
|
||||
),
|
||||
Chip(
|
||||
@@ -374,7 +376,9 @@ class HistoryScreen extends HookConsumerWidget {
|
||||
VisitType.download => const Text('Downloads'),
|
||||
VisitType.framedLink => const Text('Frames'),
|
||||
VisitType.reload => const Text('Page Reloads'),
|
||||
VisitType.bookmark => throw UnimplementedError('VisitType.bookmark filter not implemented'),
|
||||
VisitType.bookmark => throw UnimplementedError(
|
||||
'VisitType.bookmark filter not implemented',
|
||||
),
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user