File tree Expand file tree Collapse file tree
app/src/main/java/to/bitkit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ class MainActivity : FragmentActivity() {
9191 val consumedLaunchIntent = savedInstanceState?.getString(KEY_CONSUMED_LAUNCH_INTENT )
9292 val currentLaunchIntent = intent.launchKey()
9393 if (currentLaunchIntent == null || currentLaunchIntent != consumedLaunchIntent) {
94- appViewModel.handleLaunchIntent (intent)
94+ appViewModel.handleDeeplinkIntent (intent)
9595 }
9696
9797 installSplashScreen()
@@ -207,7 +207,7 @@ class MainActivity : FragmentActivity() {
207207 override fun onNewIntent (intent : Intent ) {
208208 super .onNewIntent(intent)
209209 setIntent(intent)
210- appViewModel.handleLaunchIntent (intent)
210+ appViewModel.handleDeeplinkIntent (intent)
211211 }
212212
213213 override fun onSaveInstanceState (outState : Bundle ) {
Original file line number Diff line number Diff line change @@ -2683,8 +2683,6 @@ class AppViewModel @Inject constructor(
26832683 }
26842684 }
26852685
2686- fun handleLaunchIntent (intent : Intent ) = handleDeeplinkIntent(intent)
2687-
26882686 fun clearPendingPubkyImport () {
26892687 viewModelScope.launch {
26902688 pubkyRepo.clearPendingImport()
You can’t perform that action at this time.
0 commit comments