mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-17 12:44:41 +03: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