chore: Follow up sign in page

This commit is contained in:
Christian Kußowski 2026-02-28 09:35:28 +01:00
parent 2e8b3c1e1e
commit 52f4e00723
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -28,6 +28,13 @@ class SignInPage extends StatelessWidget {
final selectedHomserver = state.selectedHomeserver;
return LoginScaffold(
appBar: AppBar(
leading:
state.loginLoading.connectionState == ConnectionState.waiting
? CloseButton(
onPressed: () =>
viewModel.setLoginLoading(AsyncSnapshot.nothing()),
)
: BackButton(onPressed: Navigator.of(context).pop),
backgroundColor: theme.colorScheme.surface,
surfaceTintColor: theme.colorScheme.surface,
scrolledUnderElevation: 0,
@ -89,6 +96,9 @@ class SignInPage extends StatelessWidget {
final website = server.website;
return RadioListTile.adaptive(
value: server,
enabled:
state.loginLoading.connectionState !=
ConnectionState.waiting,
radioScaleFactor:
FluffyThemes.isColumnMode(context) ||
{