hide ipad models on phones/iphone models on ipads

This commit is contained in:
leminlimez
2024-11-08 15:34:18 -05:00
parent 74a2e38a1e
commit 0321dba038
3 changed files with 101 additions and 78 deletions

View File

@@ -155,6 +155,12 @@ class DeviceManager:
else:
return self.data_singleton.current_device.uuid
def get_current_device_model(self) -> str:
if self.data_singleton.current_device == None:
return ""
else:
return self.data_singleton.current_device.model
def get_current_device_supported(self) -> bool:
if self.data_singleton.current_device == None:
return False