- Fixed Misaligned icon in file_app_bar.dart file by wrapping it inside IconButton Widget
This commit is contained in:
parent
16db29b886
commit
402a3f74c0
2 changed files with 2 additions and 1 deletions
|
@ -211,6 +211,7 @@ GEM
|
|||
|
||||
PLATFORMS
|
||||
arm64-darwin-21
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
fastlane
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue