Skip to content

Commit cc96dfd

Browse files
login [nfc]: Replace loginForm with more explicit loginContent
1 parent 7bcfec9 commit cc96dfd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/generated/l10n/zulip_localizations.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ abstract class ZulipLocalizations {
11791179
/// **'OR'**
11801180
String get loginMethodDivider;
11811181

1182-
/// Semantic label for alternative login options separating line in login page.
1182+
/// Semantic label for divider between the username/password form and the third-party login options.
11831183
///
11841184
/// In en, this message translates to:
11851185
/// **'Log-in alternatives'**

lib/widgets/login.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ class _LoginPageState extends State<LoginPage> {
457457

458458
final externalAuthenticationMethods = widget.serverSettings.externalAuthenticationMethods;
459459

460-
final loginForm = Column(mainAxisAlignment: MainAxisAlignment.center, children: [
460+
final loginContent = Column(mainAxisAlignment: MainAxisAlignment.center, children: [
461461
_UsernamePasswordForm(loginPageState: this),
462462
if (externalAuthenticationMethods.isNotEmpty) ...[
463463
const OrDivider(),
@@ -497,7 +497,7 @@ class _LoginPageState extends State<LoginPage> {
497497
// left or the right of this box
498498
child: ConstrainedBox(
499499
constraints: const BoxConstraints(maxWidth: 400),
500-
child: loginForm))))));
500+
child: loginContent))))));
501501
}
502502
}
503503

0 commit comments

Comments
 (0)