[k-9 mail] restoring backup from file doesn't respect 'swipe actions' setting
Checklist
- [x] I have used the search function to see if someone else has already submitted the same bug report.
- [x] I will describe the problem with as much detail as possible.
App
K-9 Mail
App version
16.1
Where did you get the app from?
F-Droid
Android version
11 (R)
Device model
Redmi note 4 pro (mido)
Steps to reproduce
- configure
settings > interaction > swipe actionsto be something else than the default values - make a backup from
settings > backup > export settings - fresh install k9 mail
- restore the previously made backup, di the necessary accounts setup afterwards
- after setting up the account, you will see that the values of
swipe actionssetting won't be the same as you configured them to be, but rather they will be reset back to their default values (every other general setting should be restored properly)
Expected behavior
The values of swipe actions setting should be restored correctly just like the other settings are.
Actual behavior
The values of swipe actions setting get reset back to their default values despite of our exported configuration
Logs
No response
I can confirm this issue exists. May need further investigation to see if it applies to other settings to decide if it's a higher priority. Export seems to work, the settings file does retain the correct swipe behavior, but, on import, those settings are lost. Whoever ends up working on it should check the scope of the bug to ensure it doesn't spread past this issue and correct any other import/export settings issues.
I think there is also an issue with the 'Floating Compose Button' setting
Just like swipe actions, it aswell doesn't get restored