fix: Minor regressions
This commit is contained in:
parent
2d3c8eed84
commit
4509ace93b
6 changed files with 15 additions and 13 deletions
|
|
@ -25,9 +25,7 @@ enum SelectMode { normal, share, select }
|
|||
enum PopupMenuAction { settings, invite, newGroup, setStatus, archive }
|
||||
|
||||
class ChatList extends StatefulWidget {
|
||||
final String activeChat;
|
||||
|
||||
const ChatList({this.activeChat, Key key}) : super(key: key);
|
||||
const ChatList({Key key}) : super(key: key);
|
||||
|
||||
@override
|
||||
ChatListController createState() => ChatListController();
|
||||
|
|
@ -42,6 +40,8 @@ class ChatListController extends State<ChatList> {
|
|||
|
||||
final selectedRoomIds = <String>{};
|
||||
|
||||
String get activeChat => VRouter.of(context).pathParameters['roomid'];
|
||||
|
||||
void _processIncomingSharedFiles(List<SharedMediaFile> files) {
|
||||
if (files?.isEmpty ?? true) return;
|
||||
VRouter.of(context).push('/rooms');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue