Skip to content

Commit

Permalink
Add iOS 17.5
Browse files Browse the repository at this point in the history
  • Loading branch information
amake committed May 13, 2024
1 parent 3acb76e commit f9ca210
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/data/ios.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ final List<RegExp> patterns = List.unmodifiable(<RegExp>[
ios17_0Pattern, // iOS 17.2 is same as iOS 17.0
ios17_0Pattern, // iOS 17.3 is same as iOS 17.0
ios17_0Pattern, // iOS 17.4 is same as iOS 17.0
ios17_0Pattern, // iOS 17.5 is same as iOS 17.0
]);

enum IosPlatform {
Expand Down Expand Up @@ -148,6 +149,7 @@ enum IosPlatform {
iOS17_2,
iOS17_3,
iOS17_4,
iOS17_5,
}

// As measured by the App Store on February 4, 2024
Expand Down Expand Up @@ -213,6 +215,7 @@ const List<double> distribution = [
0.76 / 4, // iOS17_2
0.76 / 4, // iOS17_3
0, // iOS17_4
0, // iOS17_5
];

final _allPlatformIndices = List.generate(IosPlatform.values.length, (i) => i);
Expand Down

0 comments on commit f9ca210

Please sign in to comment.