mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Increase extension banner chance
This commit is contained in:
parent
f32d4f34f0
commit
bce63f9aa2
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ export function ExtensionBanner(props: {
|
|||
if (currentLocation !== loc || pathname === "/onboarding/extension")
|
||||
return null;
|
||||
|
||||
// Show the banner with a 35% chance or not if users dont meet requirements
|
||||
if (!isEligible && Math.random() < 0.35) {
|
||||
// Show the banner with a 42% chance or not if users dont meet requirements
|
||||
if (!isEligible && Math.random() < 0.42) {
|
||||
let bannerText = "";
|
||||
switch (props.extensionState) {
|
||||
case "noperms":
|
||||
|
|
Loading…
Reference in a new issue