Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
ae0f1617
Commit
ae0f1617
authored
Jun 28, 2018
by
Orkhan Alikhanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed .iPhone4 and .appleTV devices
Material is never gonna end up in those devices
parent
d41c5c19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
Sources/iOS/Device.swift
+0
-4
No files found.
Sources/iOS/Device.swift
View file @
ae0f1617
...
...
@@ -34,7 +34,6 @@ import UIKit
public
enum
DeviceModel
:
Int
{
case
iPodTouch5
case
iPodTouch6
case
iPhone4
case
iPhone4s
case
iPhone5
case
iPhone5c
...
...
@@ -60,7 +59,6 @@ public enum DeviceModel: Int {
case
iPadMini4
case
iPadProSmall
case
iPadProLarge
case
appleTV
case
simulator
case
unknown
}
...
...
@@ -86,7 +84,6 @@ public struct Device {
switch
identifier
{
case
"iPod5,1"
:
return
.
iPodTouch5
case
"iPod7,1"
:
return
.
iPodTouch6
case
"iPhone3,1"
,
"iPhone3,2"
,
"iPhone3,3"
:
return
.
iPhone4
case
"iPhone4,1"
:
return
.
iPhone4s
case
"iPhone5,1"
,
"iPhone5,2"
:
return
.
iPhone5
case
"iPhone5,3"
,
"iPhone5,4"
:
return
.
iPhone5c
...
...
@@ -112,7 +109,6 @@ public struct Device {
case
"iPad5,1"
,
"iPad5,2"
:
return
.
iPadMini4
case
"iPad6,3"
,
"iPad6,4"
:
return
.
iPadProSmall
case
"iPad6,7"
,
"iPad6,8"
:
return
.
iPadProLarge
case
"AppleTV5,3"
:
return
.
appleTV
case
"i386"
,
"x86_64"
:
return
.
simulator
default
:
return
.
unknown
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment