Skip to content

Commit b616aca

Browse files
author
Emilio Pavia
authored
Merge pull request #34 from arduino/snapshot-icons
Snapshot icons
2 parents 45f3858 + a3a9733 commit b616aca

File tree

57 files changed

+326
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+326
-23
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "nano_gyroscope_x_2.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "nano_gyroscope_y_2.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "nano_gyroscope_z_2.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "nano_accelerometer_x_2.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "nano_accelerometer_y_2.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "nano_accelerometer_z_2.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"info" : {
3-
"version" : 1,
4-
"author" : "xcode"
3+
"author" : "xcode",
4+
"version" : 1
55
}
6-
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "mkrsci_gyr_x.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
},
23+
"properties" : {
24+
"template-rendering-intent" : "template"
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "mkrsci_gyr_y.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
},
23+
"properties" : {
24+
"template-rendering-intent" : "template"
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "mkrsci_gyr_z.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
},
23+
"properties" : {
24+
"template-rendering-intent" : "template"
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "mkrsci_sensor_acc_x.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
},
23+
"properties" : {
24+
"template-rendering-intent" : "template"
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "mkrsci_sensor_acc_y.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
},
23+
"properties" : {
24+
"template-rendering-intent" : "template"
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "mkrsci_sensor_acc_z.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
},
23+
"properties" : {
24+
"template-rendering-intent" : "template"
25+
}
26+
}

Diff for: ScienceJournal/BLEArduino/Nano33BLE/Sensors/Nano33BLESenseAccelerometerXSensor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct Nano33BLESenseAccelerometerXSensor: BLEArduinoSensor {
2525

2626
var name: String { "acc_x".localized }
2727

28-
var iconName: String { "mkrsci_sensor_acc_x" }
28+
var iconName: String { "nano_sensor_acc_x" }
2929

3030
var animatingIconName: String { "nano_accelerometer_x" }
3131

Diff for: ScienceJournal/BLEArduino/Nano33BLE/Sensors/Nano33BLESenseAccelerometerYSensor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct Nano33BLESenseAccelerometerYSensor: BLEArduinoSensor {
2525

2626
var name: String { "acc_y".localized }
2727

28-
var iconName: String { "mkrsci_sensor_acc_y" }
28+
var iconName: String { "nano_sensor_acc_y" }
2929

3030
var animatingIconName: String { "nano_accelerometer_y" }
3131

Diff for: ScienceJournal/BLEArduino/Nano33BLE/Sensors/Nano33BLESenseAccelerometerZSensor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct Nano33BLESenseAccelerometerZSensor: BLEArduinoSensor {
2525

2626
var name: String { "acc_z".localized }
2727

28-
var iconName: String { "mkrsci_sensor_acc_z" }
28+
var iconName: String { "nano_sensor_acc_z" }
2929

3030
var animatingIconName: String { "nano_accelerometer_z" }
3131

Diff for: ScienceJournal/BLEArduino/Nano33BLE/Sensors/Nano33BLESenseGyroscopeXSensor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct Nano33BLESenseGyroscopeXSensor: BLEArduinoSensor {
2525

2626
var name: String { "gyr_x".localized }
2727

28-
var iconName: String { "mkrsci_gyr_x" }
28+
var iconName: String { "nano_gyr_x" }
2929

3030
var animatingIconName: String { "nano_gyroscope_x" }
3131

Diff for: ScienceJournal/BLEArduino/Nano33BLE/Sensors/Nano33BLESenseGyroscopeYSensor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct Nano33BLESenseGyroscopeYSensor: BLEArduinoSensor {
2525

2626
var name: String { "gyr_y".localized }
2727

28-
var iconName: String { "mkrsci_gyr_y" }
28+
var iconName: String { "nano_gyr_y" }
2929

3030
var animatingIconName: String { "nano_gyroscope_y" }
3131

Diff for: ScienceJournal/BLEArduino/Nano33BLE/Sensors/Nano33BLESenseGyroscopeZSensor.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct Nano33BLESenseGyroscopeZSensor: BLEArduinoSensor {
2525

2626
var name: String { "gyr_z".localized }
2727

28-
var iconName: String { "mkrsci_gyr_z" }
28+
var iconName: String { "nano_gyr_z" }
2929

3030
var animatingIconName: String { "nano_gyroscope_z" }
3131

Diff for: ScienceJournal/BLESupport/SensorSpec+BLESensorInterface.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extension SensorSpec {
3232
proto.rememberedAppearance.units = bleSensorInterface.unitDescription
3333
proto.rememberedAppearance.shortDescription = bleSensorInterface.textDescription
3434

35-
let iconPath = IconPath(type: .proto, pathString: bleSensorInterface.identifier).proto
35+
let iconPath = IconPath(type: .proto, pathString: nil).proto
3636
proto.rememberedAppearance.iconPath = iconPath
3737
proto.rememberedAppearance.largeIconPath = iconPath
3838

0 commit comments

Comments
 (0)