Skip to content

Commit 8a062c9

Browse files
committed
Fix XS Max naming (XS Max users need to resave presets) (closes #61)
1 parent a3ba013 commit 8a062c9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/com/airsquared/blobsaver/Devices.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Devices {
3535
"iPhone 7+ (Global)(iPhone9,2)", "iPhone 7 (GSM)(iPhone9,3)", "iPhone 7+ (GSM)(iPhone9,4)",
3636
"iPhone 8 (iPhone10,1)", "iPhone 8+ (iPhone10,2)", "iPhone X (iPhone10,3)", "iPhone 8 (iPhone10,4)",
3737
"iPhone 8+ (iPhone10,5)", "iPhone X (iPhone10,6)", "iPhone XS (Global) (iPhone11,2)",
38-
"iPhone XS Max (iPhone11,4)", "iPhone XS Max (China) (iPhone11,6)", "iPhone XR (iPhone11,8)");
38+
"iPhone XS Max (China) (iPhone11,4)", "iPhone XS Max (iPhone11,6)", "iPhone XR (iPhone11,8)");
3939

4040
private static final ObservableList<String> iPods =
4141
FXCollections.observableArrayList("iPod Touch 3", "iPod Touch 4", "iPod Touch 5", "iPod Touch 6");
@@ -72,8 +72,8 @@ class Devices {
7272
requiresBoardConfig.put("iPad 6 (WiFi)(iPad 7,5)", "J71bAP");
7373
requiresBoardConfig.put("iPad 6 (Cellular)(iPad7,6)", "J72bAP");
7474
requiresBoardConfig.put("iPhone XS (Global) (iPhone11,2)", "D321AP");
75-
requiresBoardConfig.put("iPhone XS Max (iPhone11,4)", "D331AP");
76-
requiresBoardConfig.put("iPhone XS Max (China) (iPhone11,6)", "D331pAP");
75+
requiresBoardConfig.put("iPhone XS Max (China) (iPhone11,4)", "D331AP");
76+
requiresBoardConfig.put("iPhone XS Max (iPhone11,6)", "D331pAP");
7777
requiresBoardConfig.put("iPhone XR (iPhone11,8)", "N841AP");
7878
requiresBoardConfig.put("iPad Pro 3 11' (WiFi)(iPad8,1)", "J317AP");
7979
requiresBoardConfig.put("iPad Pro 3 11' (WiFi)(iPad8,2)", "J317xAP");

src/main/resources/com/airsquared/blobsaver/devicemodels.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ iPhone\ 8\ (iPhone10,4)=iPhone10,4
4242
iPhone\ 8+\ (iPhone10,5)=iPhone10,5
4343
iPhone\ X\ (iPhone10,6)=iPhone10,6
4444
iPhone\ XS\ (Global)\ (iPhone11,2)=iPhone11,2
45-
iPhone\ XS\ Max\ (iPhone11,4)=iPhone11,4
46-
iPhone\ XS\ Max\ (China)\ (iPhone11,6)=iPhone11,6
45+
iPhone\ XS\ Max\ (China)\ (iPhone11,4)=iPhone11,4
46+
iPhone\ XS\ Max\ (iPhone11,6)=iPhone11,6
4747
iPhone\ XR\ (iPhone11,8)=iPhone11,8
4848
iPod\ Touch\ 3=iPod3,1
4949
iPod\ Touch\ 4=iPod4,1

0 commit comments

Comments
 (0)