Merge pull request #1115 from GetStream/hotfix/attachmentPicker

fix(ui): fix attachment picker ui
This commit is contained in:
Salvatore Giordano
2022-05-04 09:44:36 +02:00
committed by GitHub
2 changed files with 25 additions and 19 deletions
@@ -1,3 +1,9 @@
## Upcoming
🐞 Fixed
- Fixed attachment picker ui.
## 4.0.1 ## 4.0.1
- Minor fixes - Minor fixes
@@ -281,8 +281,6 @@ class _StreamAttachmentPickerState extends State<StreamAttachmentPicker> {
icon: widget.customAttachmentTypes[i] icon: widget.customAttachmentTypes[i]
.iconBuilder(context, _filePickerIndex == i + 1), .iconBuilder(context, _filePickerIndex == i + 1),
), ),
],
),
const Spacer(), const Spacer(),
FutureBuilder( FutureBuilder(
future: PhotoManager.requestPermissionExtend(), future: PhotoManager.requestPermissionExtend(),
@@ -303,6 +301,8 @@ class _StreamAttachmentPickerState extends State<StreamAttachmentPicker> {
return const SizedBox.shrink(); return const SizedBox.shrink();
}, },
), ),
],
),
DecoratedBox( DecoratedBox(
decoration: BoxDecoration( decoration: BoxDecoration(
color: _streamChatTheme.colorTheme.barsBg, color: _streamChatTheme.colorTheme.barsBg,