Fix privacy setting interfering with wallet prompt (#2134)
This commit is contained in:
parent
e8d8e64bfb
commit
4ad64d658f
@ -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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user