File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ open class SwiftSupportAppCompatActivity: AndroidContextWrapper {
274
274
result = __return != nil ? Android . Content. Res. Resources ( javaObject: __return) : nil
275
275
}
276
276
277
- return result!
277
+ return result
278
278
}
279
279
280
280
public func setContentView( layoutResID: Int ) {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ open class AndroidView: JavaObject {
74
74
return getBackground ( )
75
75
}
76
76
set {
77
- setBackground ( newValue! )
77
+ setBackground ( newValue)
78
78
}
79
79
}
80
80
@@ -2731,7 +2731,7 @@ public extension Android.View.View {
2731
2731
public extension Android . View . View {
2732
2732
2733
2733
@inline ( __always)
2734
- internal func setBackground( _ background: Android . Graphics . Drawable . Drawable ) {
2734
+ internal func setBackground( _ background: Android . Graphics . Drawable . Drawable ? ) {
2735
2735
2736
2736
var __locals = [ jobject] ( )
2737
2737
You can’t perform that action at this time.
0 commit comments