metabolist / metatext

A free, open-source iOS Mastodon client.
https://metabolist.org/metatext
GNU General Public License v3.0
726 stars 102 forks source link

UI: Maximal available characters are not updated when switching accounts with long-press while writing a post #72

Open 42gb opened 2 years ago

42gb commented 2 years ago

Describe the bug Setup: Multiple accounts with different maximal chars available. When switching accounts while writing a post: available character count is not updated to the newly selected account.

To Reproduce Steps to reproduce the behavior:

  1. Click on ‘pencil’ button to write new post
  2. Maximal available characters count is shown correct for current user.
  3. Long-press on profile picture to switch to alternativ account (in this case with different maximal available characters)
  4. Maximal available character count still shows maximal available chars of original account.

Expected behavior Show character count based on selected account.

(please complete the following information):

dvorakroth commented 1 year ago

i suspect this issue might even go deeper: not only does the character count not change, but if you tap your profile pic a second time to switch back to the original account, it won't show it in the menu!

it looks like that menu, in general, doesn't show the current account (which is ok), but then when you use it to switch, the (now-hidden) contents of that menu don't get updated to reflect that the current account has changed