-
Notifications
You must be signed in to change notification settings - Fork 758
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
Cleanup of #5187 #6326
Cleanup of #5187 #6326
Conversation
Kudos, SonarCloud Quality Gate passed!
|
@@ -102,8 +102,9 @@ class RoomWidgetPermissionBottomSheet : | |||
} | |||
|
|||
override fun onCancel(dialog: DialogInterface) { | |||
viewModel.handle(RoomWidgetPermissionActions.BlockWidget) |
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.
Maybe we should reuse the existing doDecline
method?
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.
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.
I see. It is up to you but we could create a sub method without including call to dismiss()
as you suggested?
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.
I have just added a small remark to mutualize some code.
See #5187 for more details.
Will squash and merge to cleanup git history.
After my change:
Fixes #5114