Updated on 2026-08-14
This commit is contained in:
parent
d8c5f217bb
commit
0225de915a
5 changed files with 12 additions and 8 deletions
|
|
@ -1,5 +1,7 @@
|
|||
package com.tangem.features.tester.api
|
||||
|
||||
import android.content.Intent
|
||||
|
||||
/**
|
||||
* Outer tester feature router
|
||||
*
|
||||
|
|
@ -8,5 +10,5 @@ package com.tangem.features.tester.api
|
|||
interface TesterRouter {
|
||||
|
||||
/** Open tester menu */
|
||||
fun startTesterScreen()
|
||||
fun getEntryIntent(): Intent
|
||||
}
|
||||
|
|
@ -22,10 +22,8 @@ internal class DefaultTesterRouter @Inject constructor(
|
|||
|
||||
private var navController: NavController? = null
|
||||
|
||||
override fun startTesterScreen() {
|
||||
context.startActivity(
|
||||
Intent(context, TesterActivity::class.java).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK),
|
||||
)
|
||||
override fun getEntryIntent(): Intent {
|
||||
return Intent(context, TesterActivity::class.java).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
}
|
||||
|
||||
override fun setNavController(navController: NavController) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue