Browse Source

Merge pull request #1065 from nextcloud/refactor/remove-scrollbars

pull/1062/head
Kate 1 year ago committed by GitHub
parent
commit
78e43e0c8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/neon/neon/lib/src/pages/login.dart
  2. 4
      packages/neon/neon_files/lib/pages/details.dart

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

@ -54,7 +54,6 @@ class _LoginPageState extends State<LoginPage> {
body: Center( body: Center(
child: ConstrainedBox( child: ConstrainedBox(
constraints: NeonDialogTheme.of(context).constraints, constraints: NeonDialogTheme.of(context).constraints,
child: Scrollbar(
child: SingleChildScrollView( child: SingleChildScrollView(
padding: const EdgeInsets.all(10), padding: const EdgeInsets.all(10),
primary: true, primary: true,
@ -122,7 +121,6 @@ class _LoginPageState extends State<LoginPage> {
), ),
), ),
), ),
),
); );
} }
} }

4
packages/neon/neon_files/lib/pages/details.dart

@ -16,8 +16,7 @@ class FilesDetailsPage extends StatelessWidget {
appBar: AppBar( appBar: AppBar(
title: Text(details.name), title: Text(details.name),
), ),
body: Scrollbar( body: ListView(
child: ListView(
primary: true, primary: true,
children: [ children: [
ColoredBox( ColoredBox(
@ -71,6 +70,5 @@ class FilesDetailsPage extends StatelessWidget {
), ),
], ],
), ),
),
); );
} }

Loading…
Cancel
Save