mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-07-15 17:16:07 +00:00
chore: make class to get the device form factor
This commit is contained in:
@@ -780,4 +780,10 @@ class LanguageManager {
|
||||
|
||||
return languageFilter.length > 0;
|
||||
}
|
||||
}
|
||||
|
||||
class DeviceUtils {
|
||||
static isMobile() {
|
||||
return window.innerWidth <= 768;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user