1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2025-01-26 17:47:34 +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) {
if (details.equals("(Unknown version)")) {
if (details == null || details.equals("(Unknown version)")) {
this.warning = true;
}
this.details = details;