chore: Follow up fix systemuioverlaystyle

This commit is contained in:
Christian Pauly 2022-08-28 11:39:33 +02:00
commit dc0bd2f5b2
6 changed files with 25 additions and 39 deletions

View file

@ -20,9 +20,6 @@ class ConnectPageView extends StatelessWidget {
return LoginScaffold(
appBar: AppBar(
automaticallyImplyLeading: !controller.loading,
backgroundColor: Colors.transparent,
iconTheme: const IconThemeData(color: Colors.white),
elevation: 0,
centerTitle: true,
title: Text(
Matrix.of(context).getLoginClient().homeserver?.host ?? '',

View file

@ -18,33 +18,21 @@ class HomeserverPickerView extends StatelessWidget {
final benchmarkResults = controller.benchmarkResults;
return LoginScaffold(
appBar: AppBar(
elevation: 0,
scrolledUnderElevation: 0,
backgroundColor: Colors.transparent,
actions: [
IconButton(
onPressed: controller.restoreBackup,
tooltip: L10n.of(context)!.hydrate,
icon: const Icon(
Icons.restore_outlined,
color: Colors.white,
),
icon: const Icon(Icons.restore_outlined),
),
IconButton(
tooltip: L10n.of(context)!.privacy,
onPressed: () => launch(AppConfig.privacyUrl),
icon: const Icon(
Icons.shield_outlined,
color: Colors.white,
),
icon: const Icon(Icons.shield_outlined),
),
IconButton(
tooltip: L10n.of(context)!.about,
onPressed: () => PlatformInfos.showDialog(context),
icon: const Icon(
Icons.info_outlined,
color: Colors.white,
),
icon: const Icon(Icons.info_outlined),
),
],
),

View file

@ -16,9 +16,6 @@ class LoginView extends StatelessWidget {
return LoginScaffold(
appBar: AppBar(
automaticallyImplyLeading: !controller.loading,
backgroundColor: Colors.transparent,
iconTheme: const IconThemeData(color: Colors.white),
elevation: 0,
centerTitle: true,
title: Text(
L10n.of(context)!.logInTo(Matrix.of(context)

View file

@ -14,9 +14,6 @@ class SignupPageView extends StatelessWidget {
return LoginScaffold(
appBar: AppBar(
automaticallyImplyLeading: !controller.loading,
backgroundColor: Colors.transparent,
iconTheme: const IconThemeData(color: Colors.white),
elevation: 0,
title: Text(
L10n.of(context)!.signUp,
style: const TextStyle(color: Colors.white),