✨ Think based the post
This commit is contained in:
@@ -22,6 +22,7 @@ import 'package:island/widgets/response.dart';
|
||||
import 'package:island/utils/share_utils.dart';
|
||||
import 'package:island/widgets/safety/abuse_report_helper.dart';
|
||||
import 'package:island/widgets/share/share_sheet.dart';
|
||||
import 'package:island/screens/thought/think_sheet.dart';
|
||||
import 'package:material_symbols_icons/symbols.dart';
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
import 'package:styled_widget/styled_widget.dart';
|
||||
@@ -297,6 +298,16 @@ class PostActionButtons extends HookConsumerWidget {
|
||||
),
|
||||
);
|
||||
|
||||
actions.add(
|
||||
FilledButton.tonalIcon(
|
||||
onPressed: () {
|
||||
ThoughtSheet.show(context, attachedPosts: [post.id]);
|
||||
},
|
||||
icon: const Icon(Symbols.smart_toy),
|
||||
label: Text('aiThought'.tr()),
|
||||
),
|
||||
);
|
||||
|
||||
actions.add(
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
||||
Reference in New Issue
Block a user