Move padding within to increase tap-able area
This commit is contained in:
parent
50b6d95ec2
commit
0b212bf7a6
2 changed files with 2 additions and 6 deletions
|
@ -144,12 +144,7 @@ class FileAppBarState extends State<FileAppBar> {
|
|||
if ((isOwnedByUser || flagService.internalUser) &&
|
||||
!isFileHidden &&
|
||||
isFileUploaded) {
|
||||
_actions.add(
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: FavoriteWidget(widget.file),
|
||||
),
|
||||
);
|
||||
_actions.add(FavoriteWidget(widget.file));
|
||||
}
|
||||
if (!isFileUploaded) {
|
||||
_actions.add(
|
||||
|
|
|
@ -50,6 +50,7 @@ class _FavoriteWidgetState extends State<FavoriteWidget> {
|
|||
: LikeButton(
|
||||
size: 24,
|
||||
isLiked: isLiked,
|
||||
padding: const EdgeInsets.all(2),
|
||||
onTap: (oldValue) async {
|
||||
if (widget.file.uploadedFileID == null ||
|
||||
widget.file.ownerID !=
|
||||
|
|
Loading…
Add table
Reference in a new issue