Skip to content

Commit

Permalink
Fix issue with colour contrast for create post/comment button (#1536)
Browse files Browse the repository at this point in the history
fix: fix issue with colour contrast for create post/comment button
  • Loading branch information
hjiangsu authored Aug 19, 2024
1 parent fe6a31e commit 43a22af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/comment/view/create_comment_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ class _CreateCommentPageState extends State<CreateCommentPage> {
)
: Icon(
widget.commentView != null ? Icons.edit_rounded : Icons.send_rounded,
color: theme.colorScheme.onSecondary,
semanticLabel: widget.commentView != null ? l10n.editComment : l10n.createComment,
),
style: ElevatedButton.styleFrom(
Expand Down
1 change: 1 addition & 0 deletions lib/community/pages/create_post_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ class _CreatePostPageState extends State<CreatePostPage> {
)
: Icon(
widget.postView != null ? Icons.edit_rounded : Icons.send_rounded,
color: theme.colorScheme.onSecondary,
semanticLabel: widget.postView != null ? l10n.editPost : l10n.createPost,
),
style: ElevatedButton.styleFrom(
Expand Down

0 comments on commit 43a22af

Please sign in to comment.