Skip to content

Commit

Permalink
fixup! fixup! TW-1356: fix the avatar not updated when app terminated
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhhdev committed May 22, 2024
1 parent 0a32582 commit 28b94bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,14 @@ class SettingsProfileViewMobile extends StatelessWidget {
const Expanded(child: SizedBox()),
InkWell(
onTap: onBottomButtonTap,
highlightColor: Colors.transparent,
splashColor: Colors.transparent,
hoverColor: Colors.transparent,
child: Container(
width: double.infinity,
height: SettingsProfileViewMobileStyle.bottomButtonHeight,
padding: SettingsProfileViewMobileStyle.paddingBottomButton,
margin: SettingsProfileViewMobileStyle.marginBottomButton,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(
SettingsProfileViewMobileStyle.bottomButtonRadius,
Expand Down Expand Up @@ -251,7 +255,6 @@ class SettingsProfileViewMobile extends StatelessWidget {
),
),
),
SettingsProfileViewMobileStyle.paddingBottomBottomButton,
],
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ class SettingsProfileViewMobileStyle {

static const bottomButtonHeight = 48.0;
static const paddingBottomButton = EdgeInsets.only(left: 16.0, right: 16.0);
static const marginBottomButton = EdgeInsets.only(bottom: 32.0);
static const bottomButtonRadius = 100.0;
static const iconSize = 18.0;

static const paddingIconAndText = SizedBox(width: 8.0);

static const paddingBottomBottomButton = SizedBox(height: 32.0);
}

0 comments on commit 28b94bd

Please sign in to comment.