mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-03-22 18:45:49 +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