Skip to content

Commit 8fee1b0

Browse files
committed
refactor: remove unused theme variable in content limitation views
- Remove unused 'final theme = Theme.of(context);' line from _AnonymousLimitView, _StandardUserLimitView, and _PremiumUserLimitView
1 parent 94f40f9 commit 8fee1b0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/shared/widgets/content_limitation_bottom_sheet.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class _AnonymousLimitView extends StatelessWidget {
4141
@override
4242
Widget build(BuildContext context) {
4343
final l10n = AppLocalizationsX(context).l10n;
44-
final theme = Theme.of(context);
4544

4645
return _BaseLimitView(
4746
icon: Icons.person_add_alt_1_outlined,
@@ -70,7 +69,6 @@ class _StandardUserLimitView extends StatelessWidget {
7069
@override
7170
Widget build(BuildContext context) {
7271
final l10n = AppLocalizationsX(context).l10n;
73-
final theme = Theme.of(context);
7472

7573
return _BaseLimitView(
7674
icon: Icons.workspace_premium_outlined,
@@ -97,8 +95,6 @@ class _PremiumUserLimitView extends StatelessWidget {
9795
Widget build(BuildContext context) {
9896
final l10n = AppLocalizationsX(context).l10n;
9997

100-
final theme = Theme.of(context);
101-
10298
return _BaseLimitView(
10399
icon: Icons.inventory_2_outlined,
104100
title: l10n.premiumLimitTitle,

0 commit comments

Comments
 (0)