chore: Follow up login page

pull/1462/head
Krille 8 months ago
parent 3a8bb47e2c
commit 4b7345d0fe
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -15,7 +15,10 @@ import 'homeserver_picker.dart';
class HomeserverPickerView extends StatelessWidget {
final HomeserverPickerController controller;
const HomeserverPickerView(this.controller, {super.key});
const HomeserverPickerView(
this.controller, {
super.key,
});
@override
Widget build(BuildContext context) {
@ -25,7 +28,11 @@ class HomeserverPickerView extends StatelessWidget {
enforceMobileMode: Matrix.of(context).client.isLogged(),
appBar: AppBar(
centerTitle: true,
title: Text(L10n.of(context).addAccount),
title: Text(
controller.widget.addMultiAccount
? L10n.of(context).addAccount
: L10n.of(context).login,
),
actions: [
PopupMenuButton<MoreLoginActions>(
onSelected: controller.onMoreAction,

Loading…
Cancel
Save