Skip to content

Commit 7092597

Browse files
committed
Minor fix
1 parent 0b53acc commit 7092597

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

openandroidinstaller/views/select_view.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,10 @@ def get_notes(self) -> str:
301301
notes = []
302302

303303
brand = self.state.config.metadata.get("brand", "")
304-
if brand == "xiaomi":
304+
if brand in ["xiaomi", "poco"]:
305305
notes.append(
306306
"- If something goes wrong, you can reinstall MiUI here:\n<https://xiaomifirmwareupdater.com/>\n"
307307
)
308-
elif brand == "poco":
309-
notes.append(
310-
f"- If something goes wrong, you can reinstall MiUI here:\n<https://xiaomifirmwareupdater.com/miui/{self.state.config.device_code}/>\n"
311-
)
312308

313309
# this should be used as little as possible!
314310
if self.state.config.metadata.get("untested", False):

0 commit comments

Comments
 (0)