Removed unused string and the variable that was used in it.

Close #12146
fork-5.53.8
Artem Varaksa 2022-04-10 23:07:10 +03:00 zatwierdzone przez Greyson Parrelli
rodzic d7b793ce4c
commit 23939aeee3
2 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -39,7 +39,6 @@ import org.thoughtcrime.securesms.util.LifecycleDisposable
import org.thoughtcrime.securesms.util.SpanUtil
import org.thoughtcrime.securesms.util.fragments.requireListener
import org.thoughtcrime.securesms.util.navigation.safeNavigate
import java.util.Calendar
import java.util.Currency
import java.util.concurrent.TimeUnit
@ -216,9 +215,7 @@ class SubscribeFragment : DSLSettingsFragment(
isEnabled = areFieldsEnabled && (!activeAndSameLevel || state.isSubscriptionExpiring()),
onClick = {
val price = viewModel.getPriceOfSelectedSubscription() ?: return@primaryButton
val calendar = Calendar.getInstance()
calendar.add(Calendar.MONTH, 1)
MaterialAlertDialogBuilder(requireContext())
.setTitle(R.string.SubscribeFragment__update_subscription_question)
.setMessage(

Wyświetl plik

@ -4105,7 +4105,6 @@
<string name="SubscribeFragment__your_subscription_has_been_cancelled">Your subscription has been cancelled.</string>
<string name="SubscribeFragment__update_subscription_question">Update subscription?</string>
<string name="SubscribeFragment__update">Update</string>
<string name="SubscribeFragment__you_will_be_charged_the_full_amount">You will be charged the full amount of the new subscription price today. Your subscription will renew %1$s.</string>
<string name="SubscribeFragment__you_will_be_charged_the_full_amount_s_of">You will be charged the full amount (%1$s) of the new subscription price today. Your subscription will renew monthly.</string>
<string name="Subscription__s_per_month">%s/month</string>