File tree Expand file tree Collapse file tree 4 files changed +18
-18
lines changed
local_ads_management/view Expand file tree Collapse file tree 4 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ import 'package:flutter/material.dart';
22import 'package:flutter_bloc/flutter_bloc.dart' ;
33import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/bloc/app_configuration_bloc.dart' ;
44import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/view/tabs/advertisements_configuration_tab.dart' ;
5- import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/view/tabs/general_configuration_tab.dart' ;
65import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/view/tabs/feed_configuration_tab.dart' ;
6+ import 'package:flutter_news_app_web_dashboard_full_source_code/app_configuration/view/tabs/general_configuration_tab.dart' ;
77import 'package:flutter_news_app_web_dashboard_full_source_code/l10n/l10n.dart' ;
88import 'package:flutter_news_app_web_dashboard_full_source_code/shared/widgets/about_icon.dart' ;
99import 'package:ui_kit/ui_kit.dart' ;
Original file line number Diff line number Diff line change @@ -71,11 +71,10 @@ class _FeedConfigurationTabState extends State<FeedConfigurationTab> {
7171 Text (
7272 l10n.userContentLimitsDescription,
7373 style: Theme .of (context).textTheme.bodySmall? .copyWith (
74- color: Theme .of (context)
75- .colorScheme
76- .onSurface
77- .withOpacity (0.7 ),
78- ),
74+ color: Theme .of (
75+ context,
76+ ).colorScheme.onSurface.withOpacity (0.7 ),
77+ ),
7978 ),
8079 const SizedBox (height: AppSpacing .lg),
8180 UserPreferenceLimitsForm (
@@ -109,11 +108,10 @@ class _FeedConfigurationTabState extends State<FeedConfigurationTab> {
109108 Text (
110109 l10n.savedHeadlinesFilterLimitsDescription,
111110 style: Theme .of (context).textTheme.bodySmall? .copyWith (
112- color: Theme .of (context)
113- .colorScheme
114- .onSurface
115- .withOpacity (0.7 ),
116- ),
111+ color: Theme .of (
112+ context,
113+ ).colorScheme.onSurface.withOpacity (0.7 ),
114+ ),
117115 ),
118116 const SizedBox (height: AppSpacing .lg),
119117 SavedHeadlinesFiltersLimitForm (
Original file line number Diff line number Diff line change @@ -54,20 +54,23 @@ class _SavedHeadlinesFiltersLimitFormState
5454 final config = widget.remoteConfig.userPreferenceConfig;
5555 _guestController =
5656 TextEditingController (
57- text: config.guestSavedFiltersLimit.toString (),
58- )..selection = TextSelection .collapsed (
57+ text: config.guestSavedFiltersLimit.toString (),
58+ )
59+ ..selection = TextSelection .collapsed (
5960 offset: config.guestSavedFiltersLimit.toString ().length,
6061 );
6162 _standardController =
6263 TextEditingController (
63- text: config.authenticatedSavedFiltersLimit.toString (),
64- )..selection = TextSelection .collapsed (
64+ text: config.authenticatedSavedFiltersLimit.toString (),
65+ )
66+ ..selection = TextSelection .collapsed (
6567 offset: config.authenticatedSavedFiltersLimit.toString ().length,
6668 );
6769 _premiumController =
6870 TextEditingController (
69- text: config.premiumSavedFiltersLimit.toString (),
70- )..selection = TextSelection .collapsed (
71+ text: config.premiumSavedFiltersLimit.toString (),
72+ )
73+ ..selection = TextSelection .collapsed (
7174 offset: config.premiumSavedFiltersLimit.toString ().length,
7275 );
7376 }
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import 'package:flutter_news_app_web_dashboard_full_source_code/local_ads_manage
88import 'package:flutter_news_app_web_dashboard_full_source_code/local_ads_management/view/native_ads_page.dart' ;
99import 'package:flutter_news_app_web_dashboard_full_source_code/local_ads_management/view/video_ads_page.dart' ;
1010import 'package:flutter_news_app_web_dashboard_full_source_code/router/routes.dart' ;
11- import 'package:flutter_news_app_web_dashboard_full_source_code/shared/extensions/extensions.dart' ;
1211import 'package:flutter_news_app_web_dashboard_full_source_code/shared/shared.dart' ;
1312import 'package:go_router/go_router.dart' ;
1413import 'package:ui_kit/ui_kit.dart' ;
You can’t perform that action at this time.
0 commit comments