@@ -137,7 +137,7 @@ public enum DefaultKeyboardLayout {
137
137
style: DefaultKeyboardRowStyle,
138
138
characters: [
139
139
KeyboardButton (
140
- type: . Image( UIImage ( named: toggled ? " shiftToggled " : " shiftToggledOnce " ) ) ,
140
+ type: . Image( UIImage ( named: toggled ? " shiftToggled " : " shiftToggledOnce " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
141
141
style: DefaultKeyboardShiftButtonStyle,
142
142
width: . Relative( percent: 0.13 ) ,
143
143
identifier: toggled ? DefaultKeyboardIdentifier . ShiftToggled. rawValue : DefaultKeyboardIdentifier . ShiftToggledOnce. rawValue) ,
@@ -154,7 +154,7 @@ public enum DefaultKeyboardLayout {
154
154
]
155
155
) ,
156
156
KeyboardButton (
157
- type: . Image( UIImage ( named: " backspace " ) ) ,
157
+ type: . Image( UIImage ( named: " backspace " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
158
158
style: DefaultKeyboardBackspaceButtonStyle,
159
159
width: . Relative( percent: 0.13 ) ,
160
160
identifier: DefaultKeyboardIdentifier . Backspace. rawValue) ,
@@ -169,7 +169,7 @@ public enum DefaultKeyboardLayout {
169
169
width: . Relative( percent: 0.13 ) ,
170
170
identifier: DefaultKeyboardIdentifier . Numbers. rawValue) ,
171
171
KeyboardButton (
172
- type: . Image( UIImage ( named: " globe " ) ) ,
172
+ type: . Image( UIImage ( named: " globe " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
173
173
style: DefaultKeyboardGlobeButtonStyle,
174
174
width: . Static( width: 40 ) ,
175
175
identifier: DefaultKeyboardIdentifier . Globe. rawValue) ,
@@ -225,7 +225,7 @@ public enum DefaultKeyboardLayout {
225
225
style: DefaultKeyboardRowStyle,
226
226
characters: [
227
227
KeyboardButton (
228
- type: . Image( UIImage ( named: " shift " ) ) ,
228
+ type: . Image( UIImage ( named: " shift " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
229
229
style: DefaultKeyboardShiftButtonStyle,
230
230
width: . Relative( percent: 0.13 ) ,
231
231
identifier: DefaultKeyboardIdentifier . Shift. rawValue) ,
@@ -242,7 +242,7 @@ public enum DefaultKeyboardLayout {
242
242
]
243
243
) ,
244
244
KeyboardButton (
245
- type: . Image( UIImage ( named: " backspace " ) ) ,
245
+ type: . Image( UIImage ( named: " backspace " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
246
246
style: DefaultKeyboardBackspaceButtonStyle,
247
247
width: . Relative( percent: 0.13 ) ,
248
248
identifier: DefaultKeyboardIdentifier . Backspace. rawValue) ,
@@ -257,7 +257,7 @@ public enum DefaultKeyboardLayout {
257
257
width: . Relative( percent: 0.13 ) ,
258
258
identifier: DefaultKeyboardIdentifier . Numbers. rawValue) ,
259
259
KeyboardButton (
260
- type: . Image( UIImage ( named: " globe " ) ) ,
260
+ type: . Image( UIImage ( named: " globe " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
261
261
style: DefaultKeyboardGlobeButtonStyle,
262
262
width: . Static( width: 40 ) ,
263
263
identifier: DefaultKeyboardIdentifier . Globe. rawValue) ,
@@ -329,7 +329,7 @@ public enum DefaultKeyboardLayout {
329
329
]
330
330
) ,
331
331
KeyboardButton (
332
- type: . Image( UIImage ( named: " backspace " ) ) ,
332
+ type: . Image( UIImage ( named: " backspace " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
333
333
style: DefaultKeyboardBackspaceButtonStyle,
334
334
width: . Relative( percent: 0.13 ) ,
335
335
identifier: DefaultKeyboardIdentifier . Backspace. rawValue) ,
@@ -344,7 +344,7 @@ public enum DefaultKeyboardLayout {
344
344
width: . Relative( percent: 0.13 ) ,
345
345
identifier: DefaultKeyboardIdentifier . Letters. rawValue) ,
346
346
KeyboardButton (
347
- type: . Image( UIImage ( named: " globe " ) ) ,
347
+ type: . Image( UIImage ( named: " globe " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
348
348
style: DefaultKeyboardGlobeButtonStyle,
349
349
width: . Static( width: 40 ) ,
350
350
identifier: DefaultKeyboardIdentifier . Globe. rawValue) ,
@@ -416,7 +416,7 @@ public enum DefaultKeyboardLayout {
416
416
]
417
417
) ,
418
418
KeyboardButton (
419
- type: . Image( UIImage ( named: " backspace " ) ) ,
419
+ type: . Image( UIImage ( named: " backspace " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
420
420
style: DefaultKeyboardBackspaceButtonStyle,
421
421
width: . Relative( percent: 0.13 ) ,
422
422
identifier: DefaultKeyboardIdentifier . Backspace. rawValue) ,
@@ -431,7 +431,7 @@ public enum DefaultKeyboardLayout {
431
431
width: . Relative( percent: 0.13 ) ,
432
432
identifier: DefaultKeyboardIdentifier . Letters. rawValue) ,
433
433
KeyboardButton (
434
- type: . Image( UIImage ( named: " globe " ) ) ,
434
+ type: . Image( UIImage ( named: " globe " , inBundle : NSBundle ( forClass : DefaultKeyboard . self ) , compatibleWithTraitCollection : nil ) ) ,
435
435
style: DefaultKeyboardGlobeButtonStyle,
436
436
width: . Static( width: 40 ) ,
437
437
identifier: DefaultKeyboardIdentifier . Globe. rawValue) ,
0 commit comments