Merge pull request #423 from ente-io/code-refactoring
This commit is contained in:
commit
bdb9efd5d0
|
@ -58,7 +58,6 @@ class ArchivePage extends StatelessWidget {
|
|||
tagPrefix: tagPrefix,
|
||||
selectedFiles: _selectedFiles,
|
||||
initialFiles: null,
|
||||
footer: const SizedBox(height: 120),
|
||||
);
|
||||
return Scaffold(
|
||||
appBar: PreferredSize(
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -34,7 +34,6 @@ class DeviceAllPage extends StatelessWidget {
|
|||
tagPrefix: "device_all",
|
||||
selectedFiles: _selectedFiles,
|
||||
initialFiles: null,
|
||||
footer: const SizedBox(height: 120),
|
||||
);
|
||||
return Scaffold(
|
||||
appBar: PreferredSize(
|
||||
|
|
|
@ -42,7 +42,6 @@ class DeviceFolderPage extends StatelessWidget {
|
|||
? _getHeaderWidget()
|
||||
: Container(),
|
||||
initialFiles: [folder.thumbnail],
|
||||
footer: const SizedBox(height: 120),
|
||||
);
|
||||
return Scaffold(
|
||||
appBar: PreferredSize(
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -74,7 +74,6 @@ class _TrashPageState extends State<TrashPage> {
|
|||
selectedFiles: widget._selectedFiles,
|
||||
header: _headerWidget(),
|
||||
initialFiles: null,
|
||||
footer: const SizedBox(height: 120),
|
||||
);
|
||||
|
||||
return Scaffold(
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue