Merge pull request #423 from ente-io/code-refactoring

This commit is contained in:
Vishnu Mohandas 2022-08-12 15:16:27 +05:30 committed by GitHub
commit bdb9efd5d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 1 additions and 7 deletions

View file

@ -58,7 +58,6 @@ class ArchivePage extends StatelessWidget {
tagPrefix: tagPrefix,
selectedFiles: _selectedFiles,
initialFiles: null,
footer: const SizedBox(height: 120),
);
return Scaffold(
appBar: PreferredSize(

View file

@ -48,7 +48,6 @@ class CollectionPage extends StatelessWidget {
initialFiles: initialFiles,
smallerTodayFont: true,
albumName: c.collection.name,
footer: const SizedBox(height: 120),
);
return Scaffold(
appBar: PreferredSize(

View file

@ -34,7 +34,6 @@ class DeviceAllPage extends StatelessWidget {
tagPrefix: "device_all",
selectedFiles: _selectedFiles,
initialFiles: null,
footer: const SizedBox(height: 120),
);
return Scaffold(
appBar: PreferredSize(

View file

@ -42,7 +42,6 @@ class DeviceFolderPage extends StatelessWidget {
? _getHeaderWidget()
: Container(),
initialFiles: [folder.thumbnail],
footer: const SizedBox(height: 120),
);
return Scaffold(
appBar: PreferredSize(

View file

@ -46,7 +46,7 @@ class Gallery extends StatefulWidget {
this.forceReloadEvents,
this.removalEventTypes = const {},
this.header,
this.footer,
this.footer = const SizedBox(height: 120),
this.smallerTodayFont = false,
this.albumName = '',
Key key,

View file

@ -74,7 +74,6 @@ class _TrashPageState extends State<TrashPage> {
selectedFiles: widget._selectedFiles,
header: _headerWidget(),
initialFiles: null,
footer: const SizedBox(height: 120),
);
return Scaffold(

View file

@ -60,7 +60,6 @@ class FilesInLocationPage extends StatelessWidget {
tagPrefix: tagPrefix,
selectedFiles: _selectedFiles,
initialFiles: [locationSearchResult.files[0]],
footer: const SizedBox(height: 120),
);
return Scaffold(
appBar: PreferredSize(