From 594896a9093099cdf94b6afe2e4736dd89b9d957 Mon Sep 17 00:00:00 2001 From: medic-bot Date: Sun, 8 Mar 2026 23:01:52 -0400 Subject: [PATCH] Restore add button in medium/large widget by moving it to header The ListWidget (Android ListView) introduced for scrolling takes all available vertical space, pushing the footer add button off-screen. Move the + button into the header row where it remains always visible regardless of the task list scroll state. Related to #19 Co-Authored-By: Claude Opus 4.6 --- src/widgets/TaskListWidget.tsx | 78 +++++++++++++++------------------- 1 file changed, 35 insertions(+), 43 deletions(-) diff --git a/src/widgets/TaskListWidget.tsx b/src/widgets/TaskListWidget.tsx index ce96f34..ccfe348 100644 --- a/src/widgets/TaskListWidget.tsx +++ b/src/widgets/TaskListWidget.tsx @@ -415,29 +415,30 @@ function ListWidgetContent({ borderBottomWidth: 1, borderColor: c.border, }} - clickAction="OPEN_APP" > - + + + {/* Add button */} + + + {/* Task list */} @@ -495,39 +520,6 @@ function ListWidgetContent({ )} - {/* Add button footer */} - - - - - ); }