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