chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -20,8 +20,8 @@ const browser = Browser.getParser(window.navigator.userAgent);
|
||||
|
||||
let getIsMobileCache: boolean | undefined;
|
||||
/**
|
||||
* 是否是移动设备
|
||||
* 注:ipad 不是移动设备
|
||||
* Is it a mobile device?
|
||||
* Note: iPad is not a mobile device
|
||||
*/
|
||||
const isMobile = () => browser.getPlatformType(true).includes('mobile');
|
||||
|
||||
@@ -34,7 +34,7 @@ export const getIsMobile = () => {
|
||||
|
||||
let getIsIPhoneOrIPadCache: boolean | undefined;
|
||||
/**
|
||||
* gpt-4 提供的代码
|
||||
* Code provided by gpt-4
|
||||
*/
|
||||
export const getIsIPhoneOrIPad = () => {
|
||||
if (typeof getIsIPhoneOrIPadCache === 'undefined') {
|
||||
@@ -52,7 +52,7 @@ export const getIsIPhoneOrIPad = () => {
|
||||
|
||||
let getIsIPadCache: boolean | undefined;
|
||||
/**
|
||||
* gpt-4 提供的代码
|
||||
* Code provided by gpt-4
|
||||
*/
|
||||
export const getIsIPad = () => {
|
||||
if (typeof getIsIPadCache === 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user