deltachat / deltachat-android

Email-based instant messaging for Android.
GNU General Public License v3.0
1.15k stars 149 forks source link

fix: Don't change display name when starting to create a new account and going back #3434

Closed Hocuri closed 1 week ago

Hocuri commented 1 week ago

fix https://github.com/deltachat/deltachat-android/issues/3433

The problem was that in line 114, rollbackAccountCreation() is called so that the previously selected profile is selected again. Then, afterwards, in onPause() the display name (and avatar, if it was changed) of this profile is changed.

I tested both #3433 and #3063 are fixed after this PR.

github-actions[bot] commented 1 week ago

To test the changes in this pull request, install this apk: 📦 app-preview.apk