🐛 Fix the goddamn AI code
This commit is contained in:
@@ -196,14 +196,10 @@ class ExploreScreen extends HookConsumerWidget {
|
||||
builder: (context) {
|
||||
final isWider = isWiderScreen(context);
|
||||
|
||||
final bodyView = TabBarView(
|
||||
controller: tabController,
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
children: [
|
||||
_buildActivityList(context, ref, null),
|
||||
_buildActivityList(context, ref, 'subscriptions'),
|
||||
_buildActivityList(context, ref, 'friends'),
|
||||
],
|
||||
final bodyView = _buildActivityList(
|
||||
context,
|
||||
ref,
|
||||
currentFilter.value,
|
||||
);
|
||||
|
||||
if (isWider) {
|
||||
|
@@ -93,7 +93,6 @@ class PostComposeScreen extends HookConsumerWidget {
|
||||
|
||||
// Otherwise, continue with regular post compose
|
||||
final theme = Theme.of(context);
|
||||
final colorScheme = theme.colorScheme;
|
||||
|
||||
// When editing, preserve the original replied/forwarded post references
|
||||
final effectiveRepliedPost = repliedPost ?? originalPost?.repliedPost;
|
||||
@@ -423,18 +422,7 @@ class PostComposeScreen extends HookConsumerWidget {
|
||||
),
|
||||
|
||||
// Bottom toolbar
|
||||
ComposeToolbar(
|
||||
ref: ref,
|
||||
context: context,
|
||||
colorScheme: colorScheme,
|
||||
isEmpty: state.isEmpty,
|
||||
titleController: state.titleController,
|
||||
descriptionController: state.descriptionController,
|
||||
contentController: state.contentController,
|
||||
visibility: state.visibility,
|
||||
attachments: state.attachments,
|
||||
originalPost: originalPost,
|
||||
),
|
||||
ComposeToolbar(state: state, originalPost: originalPost),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
@@ -460,18 +460,7 @@ class ArticleComposeScreen extends HookConsumerWidget {
|
||||
),
|
||||
|
||||
// Bottom toolbar
|
||||
ComposeToolbar(
|
||||
ref: ref,
|
||||
context: context,
|
||||
colorScheme: colorScheme,
|
||||
isEmpty: state.isEmpty,
|
||||
titleController: state.titleController,
|
||||
descriptionController: state.descriptionController,
|
||||
contentController: state.contentController,
|
||||
visibility: state.visibility,
|
||||
attachments: state.attachments,
|
||||
originalPost: originalPost,
|
||||
),
|
||||
ComposeToolbar(state: state, originalPost: originalPost),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user