fix formatting
This commit is contained in:
@@ -75,7 +75,7 @@ final class CurrentTopRouteProvider
|
||||
}
|
||||
}
|
||||
|
||||
String _$currentTopRouteHash() => r'71a66713adafb5f64359eec88a69344167aae64f';
|
||||
String _$currentTopRouteHash() => r'1d71db42203483c7d919f44879e673f2f36d2e6a';
|
||||
|
||||
abstract class _$CurrentTopRoute extends $Notifier<RouteBase?> {
|
||||
RouteBase? build();
|
||||
|
||||
@@ -74,7 +74,9 @@ class SelectFeedDialogRoute extends GoRouteData with $SelectFeedDialogRoute {
|
||||
),
|
||||
);
|
||||
|
||||
return BottomSheetPage(builder: (_) => SelectFeedDialog(feedUris: feedUris));
|
||||
return BottomSheetPage(
|
||||
builder: (_) => SelectFeedDialog(feedUris: feedUris),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -44,18 +44,18 @@ class BottomSheetPage<T> extends Page<T> {
|
||||
|
||||
@override
|
||||
Route<T> createRoute(BuildContext context) => ModalBottomSheetRoute<T>(
|
||||
settings: this,
|
||||
builder: builder,
|
||||
barrierLabel: barrierLabel ??
|
||||
MaterialLocalizations.of(context).modalBarrierDismissLabel,
|
||||
backgroundColor:
|
||||
Theme.of(context).bottomSheetTheme.modalBackgroundColor,
|
||||
elevation: Theme.of(context).bottomSheetTheme.modalElevation,
|
||||
shape: Theme.of(context).bottomSheetTheme.shape,
|
||||
clipBehavior: Clip.antiAlias,
|
||||
constraints: Theme.of(context).bottomSheetTheme.constraints,
|
||||
isScrollControlled: isScrollControlled,
|
||||
isDismissible: barrierDismissible,
|
||||
useSafeArea: useSafeArea,
|
||||
);
|
||||
settings: this,
|
||||
builder: builder,
|
||||
barrierLabel:
|
||||
barrierLabel ??
|
||||
MaterialLocalizations.of(context).modalBarrierDismissLabel,
|
||||
backgroundColor: Theme.of(context).bottomSheetTheme.modalBackgroundColor,
|
||||
elevation: Theme.of(context).bottomSheetTheme.modalElevation,
|
||||
shape: Theme.of(context).bottomSheetTheme.shape,
|
||||
clipBehavior: Clip.antiAlias,
|
||||
constraints: Theme.of(context).bottomSheetTheme.constraints,
|
||||
isScrollControlled: isScrollControlled,
|
||||
isDismissible: barrierDismissible,
|
||||
useSafeArea: useSafeArea,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -106,7 +106,11 @@ class BrowserAddonService extends _$BrowserAddonService {
|
||||
}
|
||||
}
|
||||
} catch (e, s) {
|
||||
logger.e('Failed installing from file: $filePath', error: e, stackTrace: s);
|
||||
logger.e(
|
||||
'Failed installing from file: $filePath',
|
||||
error: e,
|
||||
stackTrace: s,
|
||||
);
|
||||
rethrow;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,10 +40,7 @@ class SelectFeedDialog extends HookConsumerWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
Text(
|
||||
'Add Feed',
|
||||
style: Theme.of(context).textTheme.titleLarge,
|
||||
),
|
||||
Text('Add Feed', style: Theme.of(context).textTheme.titleLarge),
|
||||
const SizedBox(height: 16),
|
||||
...feedUris.map(
|
||||
(uri) => HookConsumer(
|
||||
|
||||
Reference in New Issue
Block a user