make ios 18.1 beta 5 and newer unsupported

This commit is contained in:
leminlimez
2024-09-27 20:40:05 -04:00
parent 752710fb71
commit 165e76f552
3 changed files with 21 additions and 6 deletions

View File

@@ -308,9 +308,8 @@ class MainWindow(QtWidgets.QMainWindow):
self.ui.phoneVersionLbl.setText(f"<a style=\"text-decoration:none; color: white\" href=\"#\">{uuid}</a>")
def show_version_text(self, version: str):
parsed_ver: Version = Version(version)
support_str: str = "<span style=\"color: #32d74b;\">Supported!</span></a>"
if parsed_ver < DeviceManager.min_version:
if not self.device_manager.get_current_device_supported():
support_str = "<span style=\"color: #ff0000;\">Not Supported.</span></a>"
self.ui.phoneVersionLbl.setText(f"<a style=\"text-decoration:none; color: white;\" href=\"#\">iOS {version} {support_str}")