We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a4c913 commit 04327feCopy full SHA for 04327fe
1 file changed
app/src/main/java/com/getcode/view/main/home/HomeViewModel.kt
@@ -785,6 +785,7 @@ class HomeViewModel @Inject constructor(
785
value = Username(username)
786
)
787
788
+ val hasSeenTipCard = tipController.hasSeenTipCard()
789
tipController.clearTwitterSplat()
790
791
trace(
@@ -808,7 +809,9 @@ class HomeViewModel @Inject constructor(
808
809
}
810
811
- showNotificationPermissionHintIfNeeded()
812
+ if (!hasSeenTipCard) {
813
+ showNotificationPermissionHintIfNeeded()
814
+ }
815
816
817
private suspend fun showNotificationPermissionHintIfNeeded() {
0 commit comments