Updated on 2026-08-14
This commit is contained in:
parent
119e34b98b
commit
40c7d20bda
12 changed files with 85 additions and 17 deletions
|
|
@ -0,0 +1,8 @@
|
|||
package com.tangem.core.navigation.feedback
|
||||
|
||||
class DummyFeedbackManager : FeedbackManager {
|
||||
|
||||
override fun sendEmail(type: FeedbackType) {
|
||||
/* no-op */
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
package com.tangem.core.navigation.feedback
|
||||
|
||||
interface FeedbackManager {
|
||||
|
||||
fun sendEmail(type: FeedbackType)
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
package com.tangem.core.navigation.feedback
|
||||
|
||||
sealed class FeedbackType {
|
||||
data object RateCanBeBetter : FeedbackType()
|
||||
|
||||
data object ScanFails : FeedbackType()
|
||||
|
||||
data class SendTransactionFailed(val error: String) : FeedbackType()
|
||||
|
||||
data object Feedback : FeedbackType()
|
||||
|
||||
data object Support : FeedbackType()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue