Skip to content

Display the "verification success" Snackbar only when the state is VerificationFlowState.Finished. #811

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

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Jul 7, 2023

Apply the same fix for displayLeftRoomMessage

Closes #809

I have detected another issue: we can start the verification from the settings now and when complete, the snackbar will be displayed only when back to the room list. I will handle that separately. #812

Test: verify the session, cancel it, let it timeout, verify again, play a lot with it. Before the fix the Snackbar was displayed a lot. With the fix it is displayed only when the verification is successful.

…erificationFlowState.Finished`.

Apply the same fix for `displayLeftRoomMessage`
@bmarty bmarty requested a review from a team as a code owner July 7, 2023 08:33
@bmarty bmarty requested review from jmartinesp and removed request for a team July 7, 2023 08:33
@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2023

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link:

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 7, 2023

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

@codecov
Copy link

codecov bot commented Jul 7, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (59a45e5) 57.08% compared to head (9079825) 57.07%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #811      +/-   ##
===========================================
- Coverage    57.08%   57.07%   -0.01%     
===========================================
  Files          920      920              
  Lines        23399    23401       +2     
  Branches      4720     4720              
===========================================
  Hits         13357    13357              
- Misses        7940     7942       +2     
  Partials      2102     2102              
Impacted Files Coverage Δ
...o/element/android/appnav/LoggedInEventProcessor.kt 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@jmartinesp jmartinesp left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@bmarty bmarty merged commit 8f4af0c into develop Jul 7, 2023
@bmarty bmarty deleted the feature/bma/verificationSnackbar branch July 7, 2023 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spurious "verification successful prompt"
2 participants