File tree Expand file tree Collapse file tree
feature/main/src/main/java/com/terning/feature/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package com.terning.feature.main
22
33import android.content.Context
44import android.content.Intent
5- import android.net.Uri
65import android.os.Build
76import android.os.Bundle
87import androidx.activity.ComponentActivity
@@ -49,12 +48,10 @@ class MainActivity : ComponentActivity() {
4948 }
5049
5150 private fun handleDeeplink (intent : Intent ? ): Triple <String ?, String ?, String ?> {
52- val uri: Uri ? = intent?.data
53- val uriString: String? = uri?.toString()
51+ val uri = intent?.data
52+ val uriString = uri?.toString()
5453
55- if (uriString.isNullOrEmpty()) {
56- return Triple (null , null , null )
57- }
54+ if (uriString.isNullOrEmpty()) return Triple (null , null , null )
5855
5956 val host = uri.host
6057 val redirect = uri.getQueryParameter(REDIRECT )
You can’t perform that action at this time.
0 commit comments