✨ Edited the post item styles
This commit is contained in:
@@ -470,7 +470,9 @@ class PostComposeScreen extends HookConsumerWidget {
|
||||
color: colorScheme.primary,
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () => ComposeLogic.addAttachmentById(ref, state, context),
|
||||
onPressed:
|
||||
() =>
|
||||
ComposeLogic.addAttachmentById(ref, state, context),
|
||||
icon: const Icon(Symbols.attach_file),
|
||||
color: colorScheme.primary,
|
||||
),
|
||||
@@ -655,7 +657,7 @@ class PostComposeScreen extends HookConsumerWidget {
|
||||
child: SingleChildScrollView(
|
||||
controller: scrollController,
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: PostItem(item: post, isOpenable: false),
|
||||
child: PostItem(item: post),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
@@ -71,7 +71,6 @@ class PostDetailScreen extends HookConsumerWidget {
|
||||
children: [
|
||||
PostItem(
|
||||
item: post!,
|
||||
isOpenable: false,
|
||||
isFullPost: true,
|
||||
backgroundColor: isWide ? Colors.transparent : null,
|
||||
onUpdate: (newItem) {
|
||||
|
Reference in New Issue
Block a user