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

Alpacino767/issue #2654 #4968

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

alpacino767
Copy link

PR for issue #2654

Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.46%. Comparing base (ed4eb54) to head (cfe1c34).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4968   +/-   ##
=======================================
  Coverage   88.45%   88.46%           
=======================================
  Files         304      304           
  Lines       27317    27326    +9     
  Branches     7377     7379    +2     
=======================================
+ Hits        24164    24173    +9     
  Misses       2931     2931           
  Partials      222      222           

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

Copy link
Contributor

@julienw julienw left a comment

Choose a reason for hiding this comment

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

Hey, thanks for your patch!

I realize I never pushed the review even though I wrote it a long time ago, I'm so sorry about that. So here is the review. I hope you'll still want to look at it, but otherwise that's fine too, just tell me.

Thanks again for your time

@@ -249,6 +250,8 @@ class HomeImpl extends React.PureComponent<HomeProps, HomeState> {
this.setState({ popupInstallPhase: 'webchannel-unavailable' });
}
);
} else if (isMobile()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The check for isMobile should be inside the isFirefox block, because we want to check for Firefox Android specifically.

In the code you wrote, if the browser is Firefox (desktop or android) we never go to the "else", so this is exactly the opposite to what we want here.

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