chore: Follow up move encryption button
This commit is contained in:
parent
916d66ca7b
commit
2c40e15dc7
2 changed files with 2 additions and 5 deletions
|
|
@ -256,11 +256,6 @@ class ChatInputRow extends StatelessWidget {
|
||||||
onPressed: controller.emojiPickerAction,
|
onPressed: controller.emojiPickerAction,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Container(
|
|
||||||
height: height,
|
|
||||||
alignment: Alignment.center,
|
|
||||||
child: EncryptionButton(controller.room),
|
|
||||||
),
|
|
||||||
if (Matrix.of(context).isMultiAccount &&
|
if (Matrix.of(context).isMultiAccount &&
|
||||||
Matrix.of(context).hasComplexBundles &&
|
Matrix.of(context).hasComplexBundles &&
|
||||||
Matrix.of(context).currentBundle!.length > 1)
|
Matrix.of(context).currentBundle!.length > 1)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import 'dart:ui' as ui;
|
import 'dart:ui' as ui;
|
||||||
|
|
||||||
|
import 'package:fluffychat/pages/chat/encryption_button.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'package:badges/badges.dart';
|
import 'package:badges/badges.dart';
|
||||||
|
|
@ -126,6 +127,7 @@ class ChatView extends StatelessWidget {
|
||||||
icon: const Icon(Icons.call_outlined),
|
icon: const Icon(Icons.call_outlined),
|
||||||
tooltip: L10n.of(context).placeCall,
|
tooltip: L10n.of(context).placeCall,
|
||||||
),
|
),
|
||||||
|
EncryptionButton(controller.room),
|
||||||
ChatSettingsPopupMenu(controller.room, true),
|
ChatSettingsPopupMenu(controller.room, true),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue