Hide username setting crashes app

[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
16 points · 5 comments · view on lemmy.world

5 Comments

mp3@lemmy.ca · 6 pts · 2y

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 · 4 pts · 2y (2 replies)

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 · 5 pts · 2y (1 reply)

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

napoleonsdumbcousin@feddit.de · 3 pts · 2y

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

can@sh.itjust.works · 4 pts · 2y

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.