Skip to content

Commit 1c53eb1

Browse files
committed
refactor: Remove belowMainArticleImage case from InArticleAdSlotType extension
- Remove unused InArticleAdSlotType.belowMainArticleImage case - Update l10n function to reflect the removal of the case
1 parent 2c84b51 commit 1c53eb1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/shared/extensions/in_article_ad_slot_type_l10n.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ extension InArticleAdSlotTypeL10n on InArticleAdSlotType {
1010
String l10n(BuildContext context) {
1111
final l10n = context.l10n;
1212
switch (this) {
13-
case InArticleAdSlotType.belowMainArticleImage:
14-
return l10n.inArticleAdSlotTypeBelowMainArticleImage;
1513
case InArticleAdSlotType.aboveArticleContinueReadingButton:
1614
return l10n.inArticleAdSlotTypeAboveArticleContinueReadingButton;
1715
case InArticleAdSlotType.belowArticleContinueReadingButton:

0 commit comments

Comments
 (0)