mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-04-22 02:07:58 +00:00
fix: use https telegram link in dashboard share referral button
This commit is contained in:
+2
-2
@@ -420,8 +420,8 @@ class BalanceListViewModel(
|
||||
fun shareReferralClicked() = launchUnit {
|
||||
val metaAccount = selectedAccountUseCase.getSelectedMetaAccount()
|
||||
val address = metaAccount.defaultSubstrateAddress ?: return@launchUnit
|
||||
val deepLink = "pezkuwiwallet://pezkuwi/open/citizenship?referrer=$address"
|
||||
val shareText = resourceManager.getString(R.string.citizenship_share_referral, deepLink, address)
|
||||
val telegramLink = "https://t.me/pezkuwichainBot?start=$address"
|
||||
val shareText = resourceManager.getString(R.string.citizenship_share_referral, telegramLink, address)
|
||||
_shareReferralEvent.postValue(Event(shareText))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user