Fix privacy setting interfering with wallet prompt (#2134)

This commit is contained in:
ekzyis 2025-04-26 03:26:28 +02:00 committed by GitHub
parent e8d8e64bfb
commit 4ad64d658f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -1092,6 +1092,9 @@ export default {
return false return false
} }
return !!user.tipRandomMin && !!user.tipRandomMax return !!user.tipRandomMin && !!user.tipRandomMax
},
hideWalletRecvPrompt: async (user, args, { models }) => {
return user.hideWalletRecvPrompt || user.hasRecvWallet
} }
}, },

View File

@ -226,6 +226,7 @@ export default gql`
horseStreak: Int horseStreak: Int
hasSendWallet: Boolean hasSendWallet: Boolean
hasRecvWallet: Boolean hasRecvWallet: Boolean
hideWalletRecvPrompt: Boolean
maxStreak: Int maxStreak: Int
isContributor: Boolean isContributor: Boolean
githubId: String githubId: String