ublock list management initial
This commit is contained in:
@@ -1615,6 +1615,11 @@ RouteBase get $settingsRoute => GoRouteData.$route(
|
||||
name: 'AddonCollectionRoute',
|
||||
factory: $AddonCollectionRoute._fromState,
|
||||
),
|
||||
GoRouteData.$route(
|
||||
path: 'ublock_filter_lists',
|
||||
name: 'UBlockFilterListsRoute',
|
||||
factory: $UBlockFilterListsRoute._fromState,
|
||||
),
|
||||
GoRouteData.$route(
|
||||
path: 'tracking_protection_exceptions',
|
||||
name: 'TrackingProtectionExceptionsRoute',
|
||||
@@ -2013,6 +2018,27 @@ mixin $AddonCollectionRoute on GoRouteData {
|
||||
void replace(BuildContext context) => context.replace(location);
|
||||
}
|
||||
|
||||
mixin $UBlockFilterListsRoute on GoRouteData {
|
||||
static UBlockFilterListsRoute _fromState(GoRouterState state) =>
|
||||
UBlockFilterListsRoute();
|
||||
|
||||
@override
|
||||
String get location => GoRouteData.$location('/settings/ublock_filter_lists');
|
||||
|
||||
@override
|
||||
void go(BuildContext context) => context.go(location);
|
||||
|
||||
@override
|
||||
Future<T?> push<T>(BuildContext context) => context.push<T>(location);
|
||||
|
||||
@override
|
||||
void pushReplacement(BuildContext context) =>
|
||||
context.pushReplacement(location);
|
||||
|
||||
@override
|
||||
void replace(BuildContext context) => context.replace(location);
|
||||
}
|
||||
|
||||
mixin $TrackingProtectionExceptionsRoute on GoRouteData {
|
||||
static TrackingProtectionExceptionsRoute _fromState(GoRouterState state) =>
|
||||
TrackingProtectionExceptionsRoute();
|
||||
|
||||
Reference in New Issue
Block a user