✨ Rendering stickers inside content
This commit is contained in:
@ -12,11 +12,9 @@ import 'package:island/models/file.dart';
|
||||
import 'package:island/pods/config.dart';
|
||||
import 'package:island/pods/database.dart';
|
||||
import 'package:island/pods/network.dart';
|
||||
import 'package:island/pods/userinfo.dart';
|
||||
import 'package:island/pods/websocket.dart';
|
||||
import 'package:island/route.gr.dart';
|
||||
import 'package:island/screens/posts/compose.dart';
|
||||
import 'package:island/services/rtc.dart';
|
||||
import 'package:island/widgets/alert.dart';
|
||||
import 'package:island/widgets/content/cloud_file_collection.dart';
|
||||
import 'package:island/widgets/content/cloud_files.dart';
|
||||
@ -473,21 +471,6 @@ class ChatRoomScreen extends HookConsumerWidget {
|
||||
error: (_, __) => const Text('Error'),
|
||||
),
|
||||
actions: [
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
final user = ref.watch(userInfoProvider);
|
||||
if (currentlyJoined) {
|
||||
leaveRealtimeChat(chatRoom.value!);
|
||||
} else {
|
||||
joinRealtimeChat(
|
||||
ref.watch(apiClientProvider),
|
||||
chatRoom.value!,
|
||||
user.value!,
|
||||
);
|
||||
}
|
||||
},
|
||||
icon: const Icon(Symbols.video_call),
|
||||
),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.more_vert),
|
||||
onPressed: () {
|
||||
|
Reference in New Issue
Block a user