This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,27 @@
// Metro module 6198 (f6199).
import openPremiumUpsellActionSheet from "./openPremiumUpsellActionSheet";
import { UpsellTypes } from "../../../../../ConstantsIOS";
import { EntitlementFeatureNames } from "../../../../../_bundle/Module6201";
export default function maybeOpenPremiumUpsellActionSheet({ initialUpsellKey }) {
if (UpsellTypes.UPLOAD === initialUpsellKey) {
openPremiumUpsellActionSheet(EntitlementFeatureNames.INCREASED_FILE_UPLOAD_SIZE);
return true;
}
if (UpsellTypes.GLOBAL_EMOJI === initialUpsellKey) {
openPremiumUpsellActionSheet(EntitlementFeatureNames.EMOJIS_EVERYWHERE);
return true;
}
if (UpsellTypes.ANIMATED_EMOJI === initialUpsellKey) {
openPremiumUpsellActionSheet(EntitlementFeatureNames.ANIMATED_EMOJIS);
return true;
}
if (UpsellTypes.SOUNDBOARD === initialUpsellKey) {
openPremiumUpsellActionSheet(EntitlementFeatureNames.SOUNDBOARD_EVERYWHERE);
return true;
}
if (UpsellTypes.STREAM_HIGH_QUALITY === initialUpsellKey) {
openPremiumUpsellActionSheet(EntitlementFeatureNames.STREAM_HIGH_QUALITY);
return true;
}
return false;
};