mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-13 15:10:05 +01:00
make intent not nullable
This commit is contained in:
parent
fcbda98175
commit
4ab6f9e807
@ -56,7 +56,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
|
||||
checkWhatsNewDialog()
|
||||
storeStoragePaths()
|
||||
|
||||
intent?.apply {
|
||||
intent.apply {
|
||||
if (action == Intent.ACTION_SEND && type == MIME_TEXT_PLAIN) {
|
||||
getStringExtra(Intent.EXTRA_TEXT)?.let {
|
||||
displayNewNoteDialog(it)
|
||||
|
Loading…
x
Reference in New Issue
Block a user