Skip to content

Commit

Permalink
Hide Ton Connect
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelekol committed Nov 11, 2024
1 parent 99fe0fa commit f06fa21
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import io.horizontalsystems.bankwallet.modules.coin.CoinFragment
import io.horizontalsystems.bankwallet.modules.main.MainModule.MainNavigation
import io.horizontalsystems.bankwallet.modules.market.topplatforms.Platform
import io.horizontalsystems.bankwallet.modules.nft.collection.NftCollectionFragment
import io.horizontalsystems.bankwallet.modules.tonconnect.TonConnectMainFragment
import io.horizontalsystems.bankwallet.modules.walletconnect.WCManager
import io.horizontalsystems.bankwallet.modules.walletconnect.WCSessionManager
import io.horizontalsystems.bankwallet.modules.walletconnect.list.WCListFragment
Expand Down Expand Up @@ -328,10 +327,10 @@ class MainViewModel(
}
}

deeplinkString.startsWith("tc:") -> {
deeplinkPage = DeeplinkPage(R.id.tcListFragment, TonConnectMainFragment.Input(deeplinkString))
tab = MainNavigation.Settings
}
// deeplinkString.startsWith("tc:") -> {
// deeplinkPage = DeeplinkPage(R.id.tcListFragment, TonConnectMainFragment.Input(deeplinkString))
// tab = MainNavigation.Settings
// }

deeplinkString.startsWith("https://unstoppable.money/referral") -> {
val userId: String? = deepLink.getQueryParameter("userId")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,21 +192,21 @@ private fun SettingSections(
}
}
)
}, {
HsSettingCell(
title = R.string.Settings_TonConnect,
icon = R.drawable.ic_ton_connect_24,
value = null,
counterBadge = null,
onClick = {
navController.slideFromRight(R.id.tcListFragment)

stat(
page = StatPage.Settings,
event = StatEvent.Open(StatPage.TonConnect)
)
}
)
// }, {
// HsSettingCell(
// title = R.string.Settings_TonConnect,
// icon = R.drawable.ic_ton_connect_24,
// value = null,
// counterBadge = null,
// onClick = {
// navController.slideFromRight(R.id.tcListFragment)
//
// stat(
// page = StatPage.Settings,
// event = StatEvent.Open(StatPage.TonConnect)
// )
// }
// )
}, {
HsSettingCell(
R.string.BackupManager_Title,
Expand Down

0 comments on commit f06fa21

Please sign in to comment.