Skip to content

Commit fcbb63c

Browse files
committed
Analysis: Resolve unnecessary safe call type warning for app module
Warning Message: "Unnecessary safe call on a non-null receiver of type Bundle. This expression will have nullable type in future releases"
1 parent d09302b commit fcbb63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/org/wordpress/aztec/demo/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ open class MainActivity : AppCompatActivity(),
525525
super.onSaveInstanceState(outState)
526526

527527
if (mediaUploadDialog != null && mediaUploadDialog!!.isShowing) {
528-
outState?.putBoolean("isMediaUploadDialogVisible", true)
528+
outState.putBoolean("isMediaUploadDialogVisible", true)
529529
}
530530
}
531531

0 commit comments

Comments
 (0)