Skip to content

Commit

Permalink
Fixed format
Browse files Browse the repository at this point in the history
  • Loading branch information
LTPhantom committed Nov 30, 2023
1 parent 3c50b99 commit 9b0f306
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/google_mobile_ads/lib/src/ad_instance_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1015,8 +1015,7 @@ class AdMessageCodec extends StandardMessageCodec {
Orientation? orientation;
if (orientationStr != null) {
orientation = Orientation.values.firstWhere(
(Orientation orientation) =>
orientation.name == orientationStr,
(Orientation orientation) => orientation.name == orientationStr,
);
}
return AnchoredAdaptiveBannerAdSize(
Expand All @@ -1029,8 +1028,7 @@ class AdMessageCodec extends StandardMessageCodec {
readValueOfType(buffer.getUint8(), buffer);
return SmartBannerAdSize(
Orientation.values.firstWhere(
(Orientation orientation) =>
orientation.name == orientationStr,
(Orientation orientation) => orientation.name == orientationStr,
),
);
case _valueAdSize:
Expand Down

0 comments on commit 9b0f306

Please sign in to comment.