Skip to content

Commit 70c7c3a

Browse files
committed
style: format
1 parent 07e32df commit 70c7c3a

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

lib/src/models/config/navigation_ad_frequency_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class NavigationAdFrequencyConfig extends Equatable {
2626
/// within the app before an interstitial ad is shown.
2727
final int internalNavigationsBeforeShowingInterstitialAd;
2828

29-
/// The number of external navigations a user needs to make
29+
/// The number of external navigations a user needs to make
3030
/// within the app before an interstitial ad is shown.
3131
final int externalNavigationsBeforeShowingInterstitialAd;
3232

lib/src/models/config/user_config.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ class UserConfig extends Equatable {
2929

3030
/// Creates a copy of this [UserConfig] but with the given fields
3131
/// replaced with the new values.
32-
UserConfig copyWith({
33-
UserLimitsConfig? limits,
34-
}) {
35-
return UserConfig(
36-
limits: limits ?? this.limits,
37-
);
32+
UserConfig copyWith({UserLimitsConfig? limits}) {
33+
return UserConfig(limits: limits ?? this.limits);
3834
}
3935
}

test/src/models/config/feed_decorator_config_test.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ void main() {
66
final remoteConfig = remoteConfigsFixturesData.first;
77
final rateAppDecorator =
88
remoteConfig.features.feed.decorators[FeedDecoratorType.rateApp]!;
9-
final suggestedTopicsDecorator =
10-
remoteConfig.features.feed.decorators[FeedDecoratorType.suggestedTopics]!;
9+
final suggestedTopicsDecorator = remoteConfig
10+
.features
11+
.feed
12+
.decorators[FeedDecoratorType.suggestedTopics]!;
1113

1214
test('can be instantiated', () {
1315
expect(rateAppDecorator, isA<FeedDecoratorConfig>());

0 commit comments

Comments
 (0)