Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
fix: rounded button shadow and update assets (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel committed May 13, 2021
1 parent 5de6611 commit 4fb1f43
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
Binary file modified assets/icons/delete_icon.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 assets/icons/retake_button_icon.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 assets/icons/stickers_button_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion lib/share/view/share_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ class _ShareRetakeButton extends StatelessWidget {
);
}
},
verticalOffset: 50,
message: l10n.retakeButtonTooltip,
child: Image.asset('assets/icons/retake_button_icon.png', height: 50),
child: Image.asset('assets/icons/retake_button_icon.png', height: 100),
),
);
}
Expand Down
7 changes: 3 additions & 4 deletions lib/stickers/view/stickers_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ class StickersView extends StatelessWidget {
child: Row(
children: [
const _RetakeButton(),
const SizedBox(width: 15),
const ClearStickersButtonLayer(),
],
),
Expand Down Expand Up @@ -120,7 +119,6 @@ class _StickerReminderText extends StatelessWidget {
key: const Key('stickersPage_propsReminder_appTooltip'),
visible: true,
message: context.l10n.propsReminderText,
padding: const EdgeInsets.all(24),
),
);
}
Expand Down Expand Up @@ -192,8 +190,9 @@ class _RetakeButton extends StatelessWidget {
);
}
},
verticalOffset: 50,
message: l10n.retakeButtonTooltip,
child: Image.asset('assets/icons/retake_button_icon.png', height: 50),
child: Image.asset('assets/icons/retake_button_icon.png', height: 100),
);
}
}
Expand Down Expand Up @@ -444,7 +443,7 @@ class _OpenStickersButtonState extends State<OpenStickersButton> {
message: l10n.openStickersTooltip,
verticalOffset: 50,
mode: TooltipMode.normal,
child: Image.asset('assets/icons/stickers_button_icon.png', height: 80),
child: Image.asset('assets/icons/stickers_button_icon.png', height: 100),
);
return _isAnimating ? AnimatedPulse(child: child) : child;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class ClearStickersButton extends StatelessWidget {
return AppTooltipButton(
onPressed: onPressed,
message: l10n.clearStickersButtonTooltip,
child: Image.asset('assets/icons/delete_icon.png', height: 50),
verticalOffset: 50,
child: Image.asset('assets/icons/delete_icon.png', height: 100),
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ class _AppTooltipButtonState extends State<AppTooltipButton> {
);
return Material(
color: PhotoboothColors.transparent,
shape: const CircleBorder(),
clipBehavior: Clip.hardEdge,
child: AppTooltip.custom(
visible: _isTooltipVisible,
message: widget.message,
Expand Down

0 comments on commit 4fb1f43

Please sign in to comment.