this post was submitted on 03 Nov 2023
32 points (97.1% liked)

Mlem for Lemmy

5494 readers
1 users here now

Official community for Mlem, a free and open-source iOS Lemmy client.

Rules

  1. Keep it civil.
  2. This is a forum for discussion about Mlem. We welcome a degree of general chatter, but anything not related to Mlem may be removed at moderator discretion. This is not a forum for iPhone/Android debate. Posts and comments saying nothing but "iOS bad/I use Android" will be removed as off-topic.
  3. We welcome constructive criticism, but ask that it be both precise and polite.

FAQ

Download Mlem for iOS

GitHub

Website

Donate to Mlem

founded 1 year ago
MODERATORS
 

For UI consistency, tapping the Feed button after you’re already in the Feed View should scroll to the top of the feed. That’s what similar apps do (like tapping the News button in Apple News).

If you’re worried about accidental taps, pressing it a second time should take you back to where you were in the feed.

The other toolbar buttons should work similarly. If you’re in the Inbox and you tap a comment, tapping Inbox should take you back to the main inbox. Tapping Inbox when you’re already in the inbox should scroll to the top of the Inbox (if you’re not there already).

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 10 months ago (1 children)

I've just had the quickest of glances through the code. Is the gesture for opening the user switcher the only reason for reimplementing the tab bar? It sound's like you're rebuilding a lot of functionality that you get for free (iirc) with the native tab bar.

[–] [email protected] 1 points 10 months ago

Unfortunately the system (SwiftUI) tab bar doesn’t come with this behaviour for some reason.