Skip to content

Commit 4f12cb4

Browse files
Ca a l'air bon
1 parent b5377e4 commit 4f12cb4

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Main__Linux_.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations/Main__macOS_.xml

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public final class Devices {
4343
private static final ObservableList<String> AppleTVList = unmodifiableArrayList("Apple TV 2G", "Apple TV 3",
4444
"Apple TV 3 (2013)", "Apple TV 4 (2015)", "Apple TV 4K", "Apple TV 4K (2021) (AppleTV11,1)", "Apple TV 4K (2022) (AppleTV14,1)");
4545

46-
private static final ObservableList<String> deviceTypes = unmodifiableArrayList("iPhone", "iPod", "iPad", "AppleTV", "T2 Mac");
46+
private static final ObservableList<String> deviceTypes = unmodifiableArrayList("iPhone", "iPod", "iPad", "AppleTV", "T2 Mac", "Apple Silicon Mac");
4747

4848
private static final Map<String, String> boardConfigs = (Map) new Properties();
4949

@@ -136,7 +136,7 @@ public static ObservableList<String> getModelsForType(String deviceType) {
136136
case "iPad" -> iPadList;
137137
case "AppleTV" -> AppleTVList;
138138
case "T2 Mac" -> iBridgeList;
139-
case "Mac" -> macsList;
139+
case "Apple Silicon Mac" -> macsList;
140140
default -> FXCollections.emptyObservableList();
141141
};
142142
}
@@ -147,7 +147,7 @@ public static String getOSNameForType(String deviceType) {
147147
case "iPad" -> "iOS/iPadOS";
148148
case "AppleTV" -> "tvOS";
149149
case "T2 Mac" -> "bridgeOS";
150-
case "Mac" -> "macOS";
150+
case "Mac" -> "MacOS";
151151
default -> null;
152152
};
153153
}

0 commit comments

Comments
 (0)