mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-19 19:14:51 +00:00
Merge branch 'master' of gitlab.futo.org:videostreaming/grayjay
This commit is contained in:
commit
965e74c7e2
12 changed files with 13 additions and 13 deletions
|
@ -10,6 +10,7 @@ import android.widget.TextView
|
|||
import androidx.lifecycle.lifecycleScope
|
||||
import com.futo.futopay.PaymentConfigurations
|
||||
import com.futo.futopay.PaymentManager
|
||||
import com.futo.futopay.formatMoney
|
||||
import com.futo.platformplayer.BuildConfig
|
||||
import com.futo.platformplayer.R
|
||||
import com.futo.platformplayer.UIDialogs
|
||||
|
@ -94,9 +95,8 @@ class BuyFragment : MainFragment() {
|
|||
|
||||
if(currency != null && prices.containsKey(currency.id)) {
|
||||
val price = prices[currency.id]!!;
|
||||
val priceDecimal = (price.toDouble() / 100);
|
||||
withContext(Dispatchers.Main) {
|
||||
_buttonBuyText.text = currency.symbol + String.format("%.2f", priceDecimal) + context.getString(R.string.plus_tax);
|
||||
_buttonBuyText.text = formatMoney(country.id, currency.id, price) + context.getString(R.string.plus_tax);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 5809463f3dc2fd81fb92740ede467e271b5ca0c3
|
||||
Subproject commit 9dedbca4f27cfca2e2a146d6edb6a9bae7541d67
|
|
@ -1 +1 @@
|
|||
Subproject commit ed6e7fe340f2b90c3f9ad35993c5b0bf89593c29
|
||||
Subproject commit 9e6dcf093538511eac56dc44a32b99139f1f1005
|
|
@ -1 +1 @@
|
|||
Subproject commit b8ceab3e572be982171ceac09be7a7ad7878b8e8
|
||||
Subproject commit 59774ac08406e29f1408cb461caa5b79c805c6e1
|
|
@ -1 +1 @@
|
|||
Subproject commit b94d5a5091ae0929d82c703868616158607a4436
|
||||
Subproject commit 1ccd471cf4a6ef505983bc6ff4dd300624933fdd
|
|
@ -1 +1 @@
|
|||
Subproject commit 95ae01d5358328583fc3a3b59a2a0ca9d06301d2
|
||||
Subproject commit 41e91634965b0236c4e5ed9044da301dd3fd8c97
|
|
@ -1 +1 @@
|
|||
Subproject commit 5809463f3dc2fd81fb92740ede467e271b5ca0c3
|
||||
Subproject commit 9dedbca4f27cfca2e2a146d6edb6a9bae7541d67
|
|
@ -1 +1 @@
|
|||
Subproject commit ed6e7fe340f2b90c3f9ad35993c5b0bf89593c29
|
||||
Subproject commit 9e6dcf093538511eac56dc44a32b99139f1f1005
|
|
@ -1 +1 @@
|
|||
Subproject commit b8ceab3e572be982171ceac09be7a7ad7878b8e8
|
||||
Subproject commit 59774ac08406e29f1408cb461caa5b79c805c6e1
|
|
@ -1 +1 @@
|
|||
Subproject commit b94d5a5091ae0929d82c703868616158607a4436
|
||||
Subproject commit 1ccd471cf4a6ef505983bc6ff4dd300624933fdd
|
|
@ -1 +1 @@
|
|||
Subproject commit 95ae01d5358328583fc3a3b59a2a0ca9d06301d2
|
||||
Subproject commit 41e91634965b0236c4e5ed9044da301dd3fd8c97
|
|
@ -1 +1 @@
|
|||
Subproject commit c8992e6a0ef462d11dfaf716ebe1caf46c926611
|
||||
Subproject commit c3f532c660527ae579c1dff0d2f9f4d8ea4d3173
|
Loading…
Add table
Reference in a new issue