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:
parent
b21ffaa528
commit
c7a7461757
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user