Browse Source

fix(neon): Fix login works with Nextcloud

pull/489/head
jld3103 2 years ago
parent
commit
f808bc488f
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 4
      packages/neon/neon/lib/src/pages/login.dart
  2. 2
      packages/neon/neon/lib/src/theme/branding.dart

4
packages/neon/neon/lib/src/pages/login.dart

@ -56,16 +56,16 @@ class _LoginPageState extends State<LoginPage> {
branding.name,
style: Theme.of(context).textTheme.titleLarge,
),
if (branding.showLoginWithNextcloud) ...[
const SizedBox(
height: 20,
),
if (branding.showLoginWithNextcloud) ...[
Text(AppLocalizations.of(context).loginWorksWith),
const SizedBox(
height: 20,
),
],
const NextcloudLogo(),
],
const SizedBox(
height: 40,
),

2
packages/neon/neon/lib/src/theme/branding.dart

@ -13,7 +13,7 @@ class Branding {
required this.name,
required this.logo,
this.legalese,
this.showLoginWithNextcloud = false,
this.showLoginWithNextcloud = true,
});
/// App name

Loading…
Cancel
Save