mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
Removed unused string and the variable that was used in it.
Close #12146
This commit is contained in:
committed by
Greyson Parrelli
parent
d7b793ce4c
commit
23939aeee3
@@ -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(
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user