Skip to content

Conversation

@kolaente
Copy link
Member

When viewing a task in modal mode on mobile, both a back button and a close button were displayed, causing confusion. The back button condition !isModal || isMobile meant it would show on mobile even in modal mode.

This fix changes the back button to only display when not in modal mode (!isModal), ensuring only the close button appears when viewing tasks in a modal on mobile devices.

Also removed the now-unused isMobile variable and its import.

When viewing a task in modal mode on mobile, both a back button and a close button were displayed, causing confusion. The back button condition `!isModal || isMobile` meant it would show on mobile even in modal mode.

This fix changes the back button to only display when not in modal mode (`!isModal`), ensuring only the close button appears when viewing tasks in a modal on mobile devices.

Also removed the now-unused `isMobile` variable and its import.
@kolaente kolaente changed the title Remove duplicate close button on mobile task detail fix(task): remove duplicate close button on mobile task detail Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants