[BUG] Hide username crashes app

After the latest update, turning on “Hide username in account selector” setting crashes the app on startup.

Scenario (steps to reproduce)**

  1. Login with an account
  2. Go to settings>Security
  3. Turn on hide username in account picker

Result(s) App crashes when going back to home screen and when opening it

Device information

Sync version: v23.11.29-22:27    
Sync flavor: googlePlay    

View type: Slides    
Push enabled: false    

Device: c2s    
Model: samsung SM-N986B    
Android: 13
  • m-p{3}@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    1 year ago

    Happens on one profile for me as well, I had to clear the app storage and restore the settings from a previous backup.

    Restoring from the backup file with hide_username set to false did let me in using that backup.

    Device information

    Sync version: v23.11.29-22:27    
    Sync flavor: googlePlay    
    
    Ultra user: false    
    View type: Slides    
    Push enabled: false    
    
    Device: cheetah    
    Model: Google Pixel 7 Pro    
    Android: 14
    
  • napoleonsdumbcousin@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I can confirm the same bug on my device

    Device information

    Sync version: v23.11.29-22:27    
    Sync flavor: googlePlay    
    
    View type: Cards    
    Push enabled: false    
    
    Device: beyond0    
    Model: samsung SM-G970F    
    Android: 12
    
  • can@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I was able to get around this by opening a lemmy post from my browser in Sync. Somehow that didn’t crash and from there I was able to get into settings and disable that option without having to delete my data.