1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-02-05 06:27:32 +01:00

Fossil Q Hybrid: Fix crash

This commit is contained in:
Arjan Schrijver 2022-08-24 16:51:08 +02:00
parent b21ffaa528
commit c7a7461757

View File

@ -70,7 +70,7 @@ public class GenericItem implements ItemWithDetails {
} }
public void setDetails(String details) { public void setDetails(String details) {
if (details.equals("(Unknown version)")) { if (details == null || details.equals("(Unknown version)")) {
this.warning = true; this.warning = true;
} }
this.details = details; this.details = details;