mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Relax check for Mi1S device detection #234
This commit is contained in:
@@ -109,7 +109,7 @@ public class DeviceInfo extends AbstractInfo {
|
||||
|
||||
public boolean isMili1S() {
|
||||
// TODO: this is probably not quite correct, but hopefully sufficient for early 1S support
|
||||
return feature == 4 && appearance == 0 || feature == 4 && hwVersion == 4;
|
||||
return (feature == 4 && appearance == 0) || hwVersion == 4;
|
||||
}
|
||||
|
||||
public String getHwVersion() {
|
||||
|
Reference in New Issue
Block a user