[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}
    link
    fedilink
    English
    6
    edit-2
    7 months 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
    
  • @[email protected]
    link
    fedilink
    English
    47 months 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
      link
      English
      57 months ago

      Try opening a lemmy link from your web browser in Sync.

      • @[email protected]
        link
        fedilink
        English
        37 months ago

        Thanks, but I had a backup with the setting disabled so it was no issue to just reset the app.

  • @can
    link
    English
    47 months 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.