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
- Minor fixes
@@ -281,8 +281,6 @@ class _StreamAttachmentPickerState extends State<StreamAttachmentPicker> {
icon: widget.customAttachmentTypes[i]
.iconBuilder(context, _filePickerIndex == i + 1),
),
],
),
const Spacer(),
FutureBuilder(
future: PhotoManager.requestPermissionExtend(),
@@ -303,6 +301,8 @@ class _StreamAttachmentPickerState extends State<StreamAttachmentPicker> {
return const SizedBox.shrink();
},
),
],
),
DecoratedBox(
decoration: BoxDecoration(
color: _streamChatTheme.colorTheme.barsBg,