- Fixed Misaligned icon in file_app_bar.dart file by wrapping it inside IconButton Widget

This commit is contained in:
Naveenchand 2023-10-08 04:52:28 +00:00
parent 16db29b886
commit 402a3f74c0
2 changed files with 2 additions and 1 deletions

View file

@ -211,6 +211,7 @@ GEM
PLATFORMS
arm64-darwin-21
x86_64-linux
DEPENDENCIES
fastlane

View file

@ -124,7 +124,7 @@ class FileAppBarState extends State<FileAppBar> {
}
// only show fav option for files owned by the user
if (isOwnedByUser && !isFileHidden && isFileUploaded) {
actions.add(FavoriteWidget(widget.file));
actions.add(IconButton(icon: FavoriteWidget(widget.file), onPressed: null));
}
if (!isFileUploaded) {
actions.add(