improve layout

This commit is contained in:
Fabian Freund
2026-02-04 06:49:42 +01:00
parent f9b95f1507
commit cc7cf7ebe1
@@ -277,6 +277,7 @@ class SearchScreen extends HookConsumerWidget {
pinned: true, pinned: true,
automaticallyImplyLeading: false, automaticallyImplyLeading: false,
toolbarHeight: isEditMode ? 0 : kToolbarHeight + 56, toolbarHeight: isEditMode ? 0 : kToolbarHeight + 56,
titleSpacing: 0.0,
title: isEditMode title: isEditMode
? null ? null
: Column( : Column(
@@ -331,26 +332,30 @@ class SearchScreen extends HookConsumerWidget {
), ),
), ),
const SizedBox(height: 8), const SizedBox(height: 8),
SizedBox( Padding(
height: 48, padding: const EdgeInsets.only(left: 16.0),
child: ContainerChips( child: SizedBox(
selectedContainer: selectedContainer.value, height: 48,
onSelected: (container) async { child: ContainerChips(
if (container != null) { selectedContainer: selectedContainer.value,
if (await ref onSelected: (container) async {
.read( if (container != null) {
selectedContainerProvider.notifier, if (await ref
) .read(
.authenticateContainer(container)) { selectedContainerProvider
.notifier,
)
.authenticateContainer(container)) {
selectedContainer.value = container;
}
} else {
selectedContainer.value = container; selectedContainer.value = container;
} }
} else { },
selectedContainer.value = container; onDeleted: (container) {
} selectedContainer.value = null;
}, },
onDeleted: (container) { ),
selectedContainer.value = null;
},
), ),
), ),
], ],