✨ Chat attachments
This commit is contained in:
@ -145,8 +145,6 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
|
||||
padding: EdgeInsets.only(
|
||||
top: !isMerged ? 8 : 0,
|
||||
bottom: !hasMerged ? 8 : 0,
|
||||
left: 12,
|
||||
right: 12,
|
||||
),
|
||||
child: ChatMessage(
|
||||
item: item,
|
||||
|
@ -45,7 +45,7 @@ class _PostPublishingScreenState extends State<PostPublishingScreen> {
|
||||
|
||||
List<int> _attachments = List.empty();
|
||||
|
||||
void showAttachments(BuildContext context) {
|
||||
void showAttachments() {
|
||||
showModalBottomSheet(
|
||||
context: context,
|
||||
builder: (context) => AttachmentPublishingPopup(
|
||||
@ -258,7 +258,7 @@ class _PostPublishingScreenState extends State<PostPublishingScreen> {
|
||||
TextButton(
|
||||
style: TextButton.styleFrom(shape: const CircleBorder()),
|
||||
child: const Icon(Icons.camera_alt),
|
||||
onPressed: () => showAttachments(context),
|
||||
onPressed: () => showAttachments(),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
@ -82,6 +82,8 @@ class _SocialScreenState extends State<SocialScreen> {
|
||||
sliver: SliverAppBar(
|
||||
title: Text('social'.tr),
|
||||
centerTitle: false,
|
||||
floating: true,
|
||||
snap: true,
|
||||
titleSpacing:
|
||||
SolianTheme.isLargeScreen(context) ? null : 24,
|
||||
forceElevated: innerBoxIsScrolled,
|
||||
|
Reference in New Issue
Block a user