-
Notifications
You must be signed in to change notification settings - Fork 497
[4.21.0] 하드웨어 1.9.38 PR #2434
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
[4.21.0] 하드웨어 1.9.38 PR #2434
Changes from all commits
a261a79
1d1e259
acb5c24
3ae173a
11886ee
6fb7e36
91b40e6
a1d06e7
7085cca
a417a8c
e102354
3c26cae
d791e17
5519196
c79e53e
4489503
ba4a1ff
0f503fb
46f7761
572d911
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -144,11 +144,15 @@ export default class HardwareLite { | |||||||||||||
|
|
||||||||||||||
| isHwLiteSupportAgent() { | ||||||||||||||
| const userAgentString = navigator.userAgent.toLowerCase(); | ||||||||||||||
| return ( | ||||||||||||||
| userAgentString.indexOf('chrome') >= 0 && | ||||||||||||||
| userAgentString.indexOf('window') < 0 && | ||||||||||||||
| userAgentString.indexOf('electron') < 0 | ||||||||||||||
| ); | ||||||||||||||
|
|
||||||||||||||
| // INFO: 디바이스가 모바일이거나 일렉트론이면 1차적으로 제외 | ||||||||||||||
| if (userAgentString.includes('mobile') || userAgentString.includes('electron')) { | ||||||||||||||
| return false; | ||||||||||||||
| } else if (userAgentString.includes('whale') || userAgentString.includes('edge') || userAgentString.includes('chrome')) { | ||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||||||||||
| return true; | ||||||||||||||
| } else { | ||||||||||||||
| return false; | ||||||||||||||
| } | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| refreshHardwareLiteBlockMenu() { | ||||||||||||||
|
|
||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line has a length of 129. Maximum allowed is 100.