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 {
274274 result = __return != nil ? Android . Content. Res. Resources ( javaObject: __return) : nil
275275 }
276276
277- return result!
277+ return result
278278 }
279279
280280 public func setContentView( layoutResID: Int ) {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ open class AndroidView: JavaObject {
7474 return getBackground ( )
7575 }
7676 set {
77- setBackground ( newValue! )
77+ setBackground ( newValue)
7878 }
7979 }
8080
@@ -2731,7 +2731,7 @@ public extension Android.View.View {
27312731public extension Android . View . View {
27322732
27332733 @inline ( __always)
2734- internal func setBackground( _ background: Android . Graphics . Drawable . Drawable ) {
2734+ internal func setBackground( _ background: Android . Graphics . Drawable . Drawable ? ) {
27352735
27362736 var __locals = [ jobject] ( )
27372737
You can’t perform that action at this time.
0 commit comments