mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
change support string to better reflect compatibility
This commit is contained in:
@@ -468,11 +468,11 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
|
|
||||||
def show_version_text(self, version: str, build: str):
|
def show_version_text(self, version: str, build: str):
|
||||||
support_str: str = "<span style=\"color: #32d74b;\">Supported!</span></a>"
|
support_str: str = "<span style=\"color: #32d74b;\">Supported!</span></a>"
|
||||||
if Version(version) < Version("17.0") or self.device_manager.get_current_device_patched():
|
if Version(version) < Version("17.0"):
|
||||||
support_str = "<span style=\"color: #ff0000;\">Not Supported.</span></a>"
|
support_str = "<span style=\"color: #ff0000;\">Not Supported.</span></a>"
|
||||||
elif not self.device_manager.get_current_device_supported():
|
elif self.device_manager.get_current_device_patched():
|
||||||
# sparserestore partially patched
|
# sparserestore fully patched
|
||||||
support_str = "<span style=\"color: #ffff00;\">Supported, YMMV.</span></a>"
|
support_str = "<span style=\"color: #ffff00;\">Partially Supported.</span></a>"
|
||||||
self.ui.phoneVersionLbl.setText(f"<a style=\"text-decoration:none; color: white;\" href=\"#\">iOS {version} ({build}) {support_str}")
|
self.ui.phoneVersionLbl.setText(f"<a style=\"text-decoration:none; color: white;\" href=\"#\">iOS {version} ({build}) {support_str}")
|
||||||
|
|
||||||
## HOME PAGE LINKS
|
## HOME PAGE LINKS
|
||||||
|
|||||||
Reference in New Issue
Block a user