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

Fix a bug when dismissing a media preview. #1428

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Conversation

pixlwave
Copy link
Member

Currently if you tap on a media item when the keyboard is visible, dismissing the item sometimes returns you to a view where the composer is pushed up by a big white empty space where the keyboard would normally be. This PR makes sure the composer resigns focus before displaying the preview.

@pixlwave pixlwave requested a review from a team as a code owner July 31, 2023 15:40
@pixlwave pixlwave requested review from alfogrillo and stefanceriu and removed request for a team and alfogrillo July 31, 2023 15:40
@github-actions
Copy link

github-actions bot commented Jul 31, 2023

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consider squashing all commits that don't have a tracking number.
⚠️

ElementX/Sources/Screens/RoomScreen/RoomScreenViewModel.swift#L506 - SwiftLint rule 'function_body_length' did not trigger a violation in the disabled region. Please remove the disable command. (superfluous_disable_command)

Generated by 🚫 Danger Swift against cacd749

@sonarcloud
Copy link

sonarcloud bot commented Jul 31, 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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4fc5b6f) 54.12% compared to head (cacd749) 54.13%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1428   +/-   ##
========================================
  Coverage    54.12%   54.13%           
========================================
  Files          393      393           
  Lines        25709    25710    +1     
  Branches     13022    13022           
========================================
+ Hits         13915    13918    +3     
+ Misses       11419    11417    -2     
  Partials       375      375           
Flag Coverage Δ
unittests 23.03% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...urces/Screens/RoomScreen/RoomScreenViewModel.swift 42.98% <0.00%> (-0.07%) ⬇️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

👍

@pixlwave pixlwave merged commit f06e063 into develop Aug 1, 2023
@pixlwave pixlwave deleted the doug/quicklook branch August 1, 2023 09:45
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.

2 participants