melos format
This commit is contained in:
@@ -356,10 +356,10 @@ class EngineSettings extends GeckoEngineSettings with FastEquatable {
|
||||
String? json,
|
||||
) =>
|
||||
json.mapNotNull(
|
||||
(encoded) => UBlockFilterListSettings.fromJson(
|
||||
jsonDecode(encoded) as Map<String, dynamic>,
|
||||
),
|
||||
) ??
|
||||
(encoded) => UBlockFilterListSettings.fromJson(
|
||||
jsonDecode(encoded) as Map<String, dynamic>,
|
||||
),
|
||||
) ??
|
||||
UBlockFilterListSettings();
|
||||
|
||||
static String _ublockFilterListSettingsToJson(
|
||||
|
||||
@@ -236,10 +236,10 @@ class GeneralSettings with FastEquatable {
|
||||
uiScaleFactor = uiScaleFactor ?? defaultUiScaleFactor,
|
||||
disableAnimations = disableAnimations ?? false,
|
||||
showModalBarrier = showModalBarrier ?? true,
|
||||
enableReadability = enableReadability ?? true,
|
||||
enforceReadability = enforceReadability ?? false,
|
||||
screenshotProtectionEnabled = screenshotProtectionEnabled ?? false,
|
||||
defaultSearchProvider = defaultSearchProvider ?? _fallbackSearchProvider,
|
||||
enableReadability = enableReadability ?? true,
|
||||
enforceReadability = enforceReadability ?? false,
|
||||
screenshotProtectionEnabled = screenshotProtectionEnabled ?? false,
|
||||
defaultSearchProvider = defaultSearchProvider ?? _fallbackSearchProvider,
|
||||
defaultSearchSuggestionsProvider =
|
||||
defaultSearchSuggestionsProvider ?? _fallbackAutocompleteProvider,
|
||||
createChildTabsOption = createChildTabsOption ?? false,
|
||||
|
||||
@@ -85,7 +85,9 @@ class UBlockFilterListSettings with FastEquatable {
|
||||
this.externalFilterLists = const [],
|
||||
});
|
||||
|
||||
factory UBlockFilterListSettings.managedDefaults(UBlockAssetsRegistry registry) {
|
||||
factory UBlockFilterListSettings.managedDefaults(
|
||||
UBlockAssetsRegistry registry,
|
||||
) {
|
||||
return UBlockFilterListSettings(
|
||||
enabled: true,
|
||||
enabledStockListTokens: registry.defaultEnabledTokens,
|
||||
|
||||
Reference in New Issue
Block a user