Skip to content

Commit

Permalink
String or Null
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenkiers committed Sep 12, 2019
1 parent bc11d4a commit efe765e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ class OpenNotificationActivity: Activity() {

i.replaceExtras(bundle)

val link: String

val link?: String
link = i.getStringExtra("link")

if(link != null) {
log.i("Got URI for action $link")
i.setData(Uri.parse(link))
Expand Down

0 comments on commit efe765e

Please sign in to comment.