kopia lustrzana https://github.com/ryukoposting/Signal-Android
Add link for more payment options.
rodzic
7bbfc2d34c
commit
af1b9579b4
|
@ -184,7 +184,7 @@ class BoostFragment : DSLSettingsBottomSheetFragment(
|
||||||
text = DSLSettingsText.from(R.string.SubscribeFragment__more_payment_options),
|
text = DSLSettingsText.from(R.string.SubscribeFragment__more_payment_options),
|
||||||
icon = DSLSettingsIcon.from(R.drawable.ic_open_20, R.color.signal_accent_primary),
|
icon = DSLSettingsIcon.from(R.drawable.ic_open_20, R.color.signal_accent_primary),
|
||||||
onClick = {
|
onClick = {
|
||||||
// TODO [alex] -- Where's this go?
|
CommunicationActions.openBrowserLink(requireContext(), getString(R.string.donate_url))
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,7 @@ import org.thoughtcrime.securesms.components.settings.app.subscription.models.Go
|
||||||
import org.thoughtcrime.securesms.components.settings.configure
|
import org.thoughtcrime.securesms.components.settings.configure
|
||||||
import org.thoughtcrime.securesms.payments.FiatMoneyUtil
|
import org.thoughtcrime.securesms.payments.FiatMoneyUtil
|
||||||
import org.thoughtcrime.securesms.subscription.Subscription
|
import org.thoughtcrime.securesms.subscription.Subscription
|
||||||
|
import org.thoughtcrime.securesms.util.CommunicationActions
|
||||||
import org.thoughtcrime.securesms.util.LifecycleDisposable
|
import org.thoughtcrime.securesms.util.LifecycleDisposable
|
||||||
import org.thoughtcrime.securesms.util.SpanUtil
|
import org.thoughtcrime.securesms.util.SpanUtil
|
||||||
import java.util.Calendar
|
import java.util.Calendar
|
||||||
|
@ -213,7 +214,7 @@ class SubscribeFragment : DSLSettingsFragment(
|
||||||
text = DSLSettingsText.from(R.string.SubscribeFragment__more_payment_options),
|
text = DSLSettingsText.from(R.string.SubscribeFragment__more_payment_options),
|
||||||
icon = DSLSettingsIcon.from(R.drawable.ic_open_20, R.color.signal_accent_primary),
|
icon = DSLSettingsIcon.from(R.drawable.ic_open_20, R.color.signal_accent_primary),
|
||||||
onClick = {
|
onClick = {
|
||||||
// TODO [alex] support page
|
CommunicationActions.openBrowserLink(requireContext(), getString(R.string.donate_url))
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue