DanXi-Dev / DanXi-swift

A Swift Reimplementation of DanXi
GNU Affero General Public License v3.0
13 stars 3 forks source link

"Toggle Sidebar" button missing from sidebar #105

Closed singularity-s0 closed 7 months ago

singularity-s0 commented 7 months ago

The toggle sidebar button, which should come automatically with SwiftUI NavigationSplitView, is missing from our sidebar.

Simulator Screenshot - iPad Pro (11-inch) (4th generation) - 2024-04-16 at 10 26 51

This is the how it should look like. Note the button on the top-left corner of the sidebar.

fsy2001 commented 7 months ago

I think you are incorrectly comparing our app (3-column navigation) with 2-column-navigation apps. In 3-column-navigation apps, like mails, the behavior of "toggle sidebar" button is identical to our app, which only appear when the sidebar is collapsed.

image image