Skip to content

Commit

Permalink
Submit button style as per activeFeedbackModeColor (#249)
Browse files Browse the repository at this point in the history
* Submit button style as per activeFeedbackModeColor

* update golden test files

---------

Co-authored-by: Jonas Uekötter <[email protected]>
  • Loading branch information
rohitbhoite and ueman authored Nov 5, 2023
1 parent 465e572 commit 98e05cd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions feedback/lib/src/feedback_builder/string_feedback.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ class _StringFeedbackState extends State<StringFeedback> {
key: const Key('submit_feedback_button'),
child: Text(
FeedbackLocalizations.of(context).submitButtonText,
style: TextStyle(
color: FeedbackTheme.of(context).activeFeedbackModeColor,
),
),
onPressed: () => widget.onSubmit(controller.text),
),
Expand Down
Binary file modified feedback/test/golden_images/closed_feedback.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified feedback/test/golden_images/open_feedback_dark_mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified feedback/test/golden_images/open_feedback_light_mode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 98e05cd

Please sign in to comment.