chore: Follow up move encryption button

This commit is contained in:
Christian Kußowski 2025-09-25 16:46:27 +02:00
parent 916d66ca7b
commit 2c40e15dc7
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 2 additions and 5 deletions

View file

@ -256,11 +256,6 @@ class ChatInputRow extends StatelessWidget {
onPressed: controller.emojiPickerAction,
),
),
Container(
height: height,
alignment: Alignment.center,
child: EncryptionButton(controller.room),
),
if (Matrix.of(context).isMultiAccount &&
Matrix.of(context).hasComplexBundles &&
Matrix.of(context).currentBundle!.length > 1)

View file

@ -1,5 +1,6 @@
import 'dart:ui' as ui;
import 'package:fluffychat/pages/chat/encryption_button.dart';
import 'package:flutter/material.dart';
import 'package:badges/badges.dart';
@ -126,6 +127,7 @@ class ChatView extends StatelessWidget {
icon: const Icon(Icons.call_outlined),
tooltip: L10n.of(context).placeCall,
),
EncryptionButton(controller.room),
ChatSettingsPopupMenu(controller.room, true),
];
}