Skip to content

Commit e3ce7eb

Browse files
committed
refactor(feed): disable upgrade prompt
- Temporarily disable upgrade prompt - For standard users
1 parent b55921b commit e3ce7eb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

lib/shared/services/feed_injector_service.dart

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,16 @@ class FeedInjectorService {
108108
if (userRole == UserRole.guestUser) {
109109
daysThreshold = daysBetweenActionsConfig.guestDaysBetweenAccountActions;
110110
actionType = AccountActionType.linkAccount;
111-
} else if (userRole == UserRole.standardUser) {
112-
// Assuming standardUser is the target for upgrade prompts
111+
} else if (userRole == UserRole.standardUser) {
113112
daysThreshold =
114113
daysBetweenActionsConfig.standardUserDaysBetweenAccountActions;
115-
actionType = AccountActionType.upgrade;
114+
115+
// todo(fulleni): once account upgrade feature is implemented,
116+
// uncomment the action type line
117+
// and remove teh null return line.
118+
119+
// actionType = AccountActionType.upgrade;
120+
return null;
116121
} else {
117122
// No account actions for premium users or other roles for now
118123
return null;

0 commit comments

Comments
 (0)