Skip to content

Commit

Permalink
[news settings] fix light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightDV committed Apr 5, 2024
1 parent 5a43c65 commit 1bf5ed8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/Screens/custom_home_feed_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ class _CustomeHomeFeedSettingsScreenState
appBar: AppBar(
title: Text(
AppLocalizations.of(context)!.news,
style: const TextStyle(
fontWeight: FontWeight.w600,
),
),
backgroundColor: Theme.of(context).colorScheme.onPrimary,
),
Expand Down Expand Up @@ -98,7 +95,6 @@ class _CustomeHomeFeedSettingsScreenState
AppLocalizations.of(context)!.official,
),
groupValue: savedFeedUrl[0],
activeColor: Theme.of(context).colorScheme.onPrimary,
onChanged: (value) => setState(
() {
savedFeedUrl = [value, "api"];
Expand All @@ -119,7 +115,6 @@ class _CustomeHomeFeedSettingsScreenState
feed.key,
),
groupValue: savedFeedUrl[0],
activeColor: Theme.of(context).colorScheme.onPrimary,
onChanged: (value) => setState(
() {
savedFeedUrl = [feed.value, "rss"];
Expand Down Expand Up @@ -204,7 +199,6 @@ class _CustomeHomeFeedSettingsScreenState
feed[0],
),
groupValue: savedFeedUrl[0],
activeColor: Theme.of(context).colorScheme.onPrimary,
onChanged: (value) => setState(
() {
Hive.box('settings').put('homeFeed', feed);
Expand Down Expand Up @@ -268,8 +262,6 @@ class _CustomeHomeFeedSettingsScreenState
Radio(
value: "rss",
groupValue: type,
activeColor:
Theme.of(context).colorScheme.onPrimary,
onChanged: (String? value) => setState(() {
type = value!;
}),
Expand All @@ -280,8 +272,6 @@ class _CustomeHomeFeedSettingsScreenState
Radio(
value: "wp",
groupValue: type,
activeColor:
Theme.of(context).colorScheme.onPrimary,
onChanged: (String? value) => setState(() {
type = value!;
}),
Expand Down

0 comments on commit 1bf5ed8

Please sign in to comment.