Shorten swipe target for foldables

Use case or problem

Obsidian works well on candybar-shaped phones, but on foldables, the swipe target is currently a bit too large; swiping over for the file explorer or the right sidebar requires that the user swipe past where their thumb can comfortably reach.

Proposed solution

Detect screen size and phone type, and if foldable detected, shorten swipe target. This might also be applicable to tablets, too, but I haven’t tested an Android tablet.

Current workaround (optional)


Related feature requests (optional)