fix crashes
This commit is contained in:
parent
31266a533d
commit
8fd846b099
@ -32968,6 +32968,7 @@ public class ChatActivity extends BaseFragment implements NotificationCenter.Not
|
||||
|
||||
private void nkbtn_onclick(int id) {
|
||||
// from "items"
|
||||
createUndoView();
|
||||
switch (id) {
|
||||
case nkbtn_repeat: {
|
||||
repeatMessage(false);
|
||||
|
@ -1261,7 +1261,7 @@ public class PremiumPreviewFragment extends BaseFragment implements Notification
|
||||
animated = false;
|
||||
}
|
||||
if (BuildVars.IS_BILLING_UNAVAILABLE) {
|
||||
premiumButtonView.setButton(getPremiumButtonText(currentAccount, subscriptionTiers.get(selectedTierIndex)), v -> buyPremium(this), animated);
|
||||
premiumButtonView.setButton(getPremiumButtonText(currentAccount, null), v -> buyPremium(this), animated);
|
||||
return;
|
||||
}
|
||||
if (!BuildVars.useInvoiceBilling() && (!BillingController.getInstance().isReady() || subscriptionTiers.isEmpty() || selectedTierIndex >= subscriptionTiers.size() || subscriptionTiers.get(selectedTierIndex).googlePlayProductDetails == null)) {
|
||||
|
Loading…
Reference in New Issue
Block a user