Updated on 2026-08-14
This commit is contained in:
parent
6578d7c8c2
commit
89a6e55bab
16 changed files with 259 additions and 359 deletions
|
|
@ -0,0 +1,25 @@
|
|||
package com.tangem.presentation.dialog
|
||||
|
||||
import android.app.AlertDialog
|
||||
import android.app.Dialog
|
||||
import android.app.DialogFragment
|
||||
import android.os.Bundle
|
||||
|
||||
import com.tangem.wallet.R
|
||||
|
||||
class RootFoundDialog : DialogFragment() {
|
||||
|
||||
companion object {
|
||||
val TAG: String = RootFoundDialog::class.java.simpleName
|
||||
}
|
||||
|
||||
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
|
||||
return AlertDialog.Builder(activity)
|
||||
.setIcon(R.drawable.tangem_logo_small_new)
|
||||
.setTitle(R.string.device_is_rooted)
|
||||
.setCancelable(false)
|
||||
.setPositiveButton(R.string.got_it, null)
|
||||
.create()
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue