Skip to content

Commit 4ab6f9e

Browse files
committed
make intent not nullable
1 parent fcbda98 commit 4ab6f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/activities/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
5656
checkWhatsNewDialog()
5757
storeStoragePaths()
5858

59-
intent?.apply {
59+
intent.apply {
6060
if (action == Intent.ACTION_SEND && type == MIME_TEXT_PLAIN) {
6161
getStringExtra(Intent.EXTRA_TEXT)?.let {
6262
displayNewNoteDialog(it)

0 commit comments

Comments
 (0)