-
-
Notifications
You must be signed in to change notification settings - Fork 298
fix to not wipe message input #5768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
restoreState() must not be triggered by GetCapabilitiesUpdateState however, way too many things rely on getCapabilitiesViewState here which is not necessary and should be changed. Also LiveData should be replaced with flow. This change will also fix the following bug: 1. start permanent voice recording 2. cancel it bug: message input buttons not clickable anymore Deleted unused observeOnce method. Signed-off-by: Marcel Hibbe <[email protected]>
61db092 to
4d11c42
Compare
|
/backport to stable-23.0 |
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5768.apk |
AndyScherzinger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested successfully 👍
|
/backport to stable-23.0 |
|
The backport to # Switch to the target branch and update it
git checkout stable-23.0
git pull origin stable-23.0
# Create the new backport branch
git checkout -b backport/5768/stable-23.0
# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 4d11c42a
# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/5768/stable-23.0Error: Failed to create pull request: Validation Failed: {"resource":"PullRequest","code":"custom","message":"A pull request already exists for nextcloud:backport/5768/stable-23.0."} - https://docs.github.com/rest/pulls/pulls#create-a-pull-request Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports. |

Related commits that will be fixed by this PR are:
restoreState() must not be triggered by GetCapabilitiesUpdateState
However, way too many things rely on getCapabilitiesViewState here which is not necessary and should be changed. Also LiveData should be replaced with flow. I wont do this now to keep changes for RC2 minimal.
This PR will also fix the following bug:
🏁 Checklist
/backport to stable-xx.x