Revert "Move padding within to increase tap-able area"
This reverts commit 0b212bf7a6
.
This commit is contained in:
parent
50613b8c57
commit
65574a0d81
2 changed files with 6 additions and 3 deletions
|
@ -131,9 +131,13 @@ class FileAppBarState extends State<FileAppBar> {
|
|||
),
|
||||
);
|
||||
}
|
||||
// only show fav option for files owned by the user
|
||||
if (!isFileHidden && isFileUploaded) {
|
||||
_actions.add(FavoriteWidget(widget.file));
|
||||
_actions.add(
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(8),
|
||||
child: FavoriteWidget(widget.file),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (!isFileUploaded) {
|
||||
_actions.add(
|
||||
|
|
|
@ -50,7 +50,6 @@ 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