Skip to content
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

Adds dismissal to new chat bottom sheet actions #7132

Merged
merged 4 commits into from
Sep 16, 2022

Conversation

ericdecanini
Copy link
Contributor

@ericdecanini ericdecanini commented Sep 14, 2022

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Dismisses new chat dialog when its actions are clicked

Motivation and context

Closes #6950

Screenshots / GIFs

Tests

  • With new layout enabled, click the new chat FAB
  • Select any of its options
  • See dialog is dismissed when you go back

Tested devices

  • Physical
  • Emulator
  • OS version(s): Android 12

Checklist

@ericdecanini ericdecanini added the PR-Small PR with less than 20 updated lines label Sep 14, 2022
@ericdecanini ericdecanini marked this pull request as ready for review September 14, 2022 21:26
navigator.openCreateRoom(requireActivity())
}

binding.exploreRooms.setOnClickListener {
dismiss()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also use debouncedClicks instead of setOnClickListener?

…s-new-chat

# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/list/home/NewChatBottomSheet.kt
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@ericdecanini ericdecanini requested a review from bmarty September 16, 2022 01:15
@bmarty bmarty merged commit a919989 into develop Sep 16, 2022
@bmarty bmarty deleted the bugfix/eric/dismiss-new-chat branch September 16, 2022 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Small PR with less than 20 updated lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App Layout: New Chat Bottom Sheet doesn't dismiss after selecting its options
3 participants