feat: referral (#3761)

Co-authored-by: DIYgod <i@diygod.me>
Co-authored-by: Innei <tukon479@gmail.com>
This commit is contained in:
Stephen Zhou
2025-07-10 09:47:11 +08:00
committed by GitHub
co-authored by DIYgod Innei
parent 79c9b05246
commit 30bb37c7b9
62 changed files with 27487 additions and 20935 deletions
@@ -418,7 +418,7 @@ export const useRegisterEntryCommands = () => {
icon: <i className="i-mgc-ai-cute-re" />,
category,
run: () => {
if (role === UserRole.Trial) {
if (role === UserRole.Free || role === UserRole.Trial) {
presentActivationModal()
return
}
@@ -431,7 +431,7 @@ export const useRegisterEntryCommands = () => {
icon: <i className="i-mgc-translate-2-ai-cute-re" />,
category,
run: () => {
if (role === UserRole.Trial) {
if (role === UserRole.Free || role === UserRole.Trial) {
presentActivationModal()
return
}