Skip to content

Commit

Permalink
Refactor ProfilePage and SettingsWidget: remove commented-out code an…
Browse files Browse the repository at this point in the history
…d adjust button background color
  • Loading branch information
Mozart299 committed Mar 5, 2025
1 parent e5d24c3 commit 2825f4a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/mobile-v3/lib/src/app/profile/pages/profile_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ class _ProfilePageState extends State<ProfilePage> {
),
)),
),
SizedBox(width: 8),
CircleAvatar(
backgroundColor: Theme.of(context)
.highlightColor,
radius: 26,
child: SvgPicture.asset(
"assets/icons/notification.svg"))
//SizedBox(width: 8),
// CircleAvatar(
// backgroundColor: Theme.of(context)
// .highlightColor,
// radius: 26,
// child: SvgPicture.asset(
// "assets/icons/notification.svg"))
],
)
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class _SettingsWidgetState extends State<SettingsWidget> {
padding: EdgeInsets.symmetric(vertical: screenHeight * 0.05),
child: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.white,
backgroundColor: Colors.red,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(8),
),
Expand Down Expand Up @@ -244,7 +244,7 @@ class _SettingsWidgetState extends State<SettingsWidget> {
// ),
// ),

SizedBox(height: screenHeight * 0.03),
SizedBox(height: screenHeight * 0.01),

// App Info
Center(
Expand Down

0 comments on commit 2825f4a

Please sign in to comment.