Skip to content

Commit f217e16

Browse files
committed
home: Center align the "try another account" message in loading placeholder
Fixes #1246
1 parent 7659479 commit f217e16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: lib/widgets/home.dart

+4-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ class _LoadingPlaceholderPageState extends State<_LoadingPlaceholderPage> {
212212
child: Column(
213213
children: [
214214
const SizedBox(height: 16),
215-
Text(zulipLocalizations.tryAnotherAccountMessage(account.realmUrl.toString())),
215+
Text(
216+
textAlign: TextAlign.center,
217+
zulipLocalizations.tryAnotherAccountMessage(account.realmUrl.toString()),
218+
),
216219
const SizedBox(height: 8),
217220
ElevatedButton(
218221
onPressed: () => Navigator.push(context,

0 commit comments

Comments
 (0)