-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[web] move checking for desktop Safari to constant
Summary: I misunderstood @tomek's suggestion from here: https://phab.comm.dev/D8124?id=27491#inline-52847 Moving not only function result to const but entire logic as this will not change during app lifetime (this is not true for tests but this is handled separately) Test Plan: 1. Check if this const is truthy for Safari 2. Check if this const is falsy for other browser (like chrome) Reviewers: tomek Reviewed By: tomek Subscribers: ashoat, tomek Differential Revision: https://phab.comm.dev/D8226
- Loading branch information
Showing
3 changed files
with
6 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters