chore: Follow up login page
This commit is contained in:
parent
3a8bb47e2c
commit
4b7345d0fe
1 changed files with 9 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue