Skip to content

Commit d2c494f

Browse files
committed
fixed RSS-Feed's browse feeds theme issue
1 parent 020fee4 commit d2c494f

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

lib/Components/RSSFeedHomePage.dart

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,10 @@ class _RSSFeedHomePageState extends State<RSSFeedHomePage>
12621262
),
12631263
Container(
12641264
decoration: BoxDecoration(
1265-
border: Border.all(color: Colors.white38),
1265+
border: Border.all(
1266+
color:
1267+
ThemeProvider.theme(widget.index)
1268+
.disabledColor),
12661269
borderRadius: BorderRadius.only(
12671270
topRight: Radius.circular(8),
12681271
topLeft: Radius.circular(8),
@@ -1339,8 +1342,10 @@ class _RSSFeedHomePageState extends State<RSSFeedHomePage>
13391342
.infinity,
13401343
decoration:
13411344
BoxDecoration(
1342-
color: Colors
1343-
.white12,
1345+
color: ThemeProvider.theme(
1346+
widget
1347+
.index)
1348+
.dividerColor,
13441349
),
13451350
),
13461351
)

lib/Constants/theme_provider.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ class MyThemes {
4141
),
4242
),
4343
highlightColor: Color(0xff415062),
44+
disabledColor: Colors.white38,
45+
dividerColor: Colors.white12,
4446
);
4547
static final lightTheme = ThemeData(
4648
brightness: Brightness.light,
@@ -69,5 +71,7 @@ class MyThemes {
6971
),
7072
),
7173
highlightColor: Color(0xff415062),
74+
disabledColor: Colors.black38,
75+
dividerColor: Colors.black12,
7276
);
7377
}

0 commit comments

Comments
 (0)