Skip to content

Commit

Permalink
fix: Added a close button to the tooltip in Onboarding (#4619)
Browse files Browse the repository at this point in the history
* fix: Added a close button to the tooltip in Onboarding

* fix: Added a close button to the tooltip in Onboarding

* fix: Added a close button to the tooltip in Onboarding

* fix: Added a close button to the tooltip in Onboarding

* fix: Added a close button to the tooltip in Onboarding

* Update packages/smooth_app/lib/pages/onboarding/knowledge_panel_page_template.dart

* Update packages/smooth_app/lib/pages/onboarding/knowledge_panel_page_template.dart

---------

Co-authored-by: monsieurtanuki <fabrice_fontaine@hotmail.com>
  • Loading branch information
sm-sayedi and monsieurtanuki authored Sep 6, 2023
1 parent e421da3 commit b530a37
Showing 1 changed file with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,24 @@ class _KnowledgePanelPageTemplateState
margin: const EdgeInsetsDirectional.only(
start: VERY_LARGE_SPACE,
top: 10,
end: VERY_LARGE_SPACE,
end: 10,
bottom: 10,
),
child: Text(
appLocalizations.hint_knowledge_panel_message,
style: TextStyle(color: Theme.of(context).cardColor),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Expanded(
child: Text(
appLocalizations.hint_knowledge_panel_message,
style: TextStyle(color: Theme.of(context).cardColor),
),
),
const SizedBox(width: VERY_LARGE_SPACE),
Icon(
Icons.close,
color: Theme.of(context).cardColor,
),
],
),
),
),
Expand Down

0 comments on commit b530a37

Please sign in to comment.