Skip to content

Commit

Permalink
refactor: remove debug action style
Browse files Browse the repository at this point in the history
  • Loading branch information
realth000 committed Jan 2, 2025
1 parent 8d52f76 commit 03e6711
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions lib/widgets/card/notice_card_v2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,7 @@ class _NoticeCardV2State extends State<NoticeCardV2> {
const PopupMenuDivider(),
PopupMenuItem(
value: _Actions.copyRawContent,
child: Text(
tr.copyRawContent,
style: TextStyle(
color: Theme.of(context).colorScheme.secondary,
),
),
child: Text(tr.copyRawContent),
),
],
],
Expand Down
7 changes: 1 addition & 6 deletions lib/widgets/list_app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,7 @@ class ListAppBar extends StatelessWidget implements PreferredSizeWidget {
const PopupMenuDivider(),
PopupMenuItem(
value: MenuActions.debugViewLog,
child: Text(
context.t.settingsPage.debugSection.viewLog.title,
style: TextStyle(
color: Theme.of(context).colorScheme.secondary,
),
),
child: Text(context.t.settingsPage.debugSection.viewLog.title),
),
],
],
Expand Down

0 comments on commit 03e6711

Please sign in to comment.