chore: Hide limited profile message from the profile screen
Hide the limited profile message from profile page  for users
who don't have YOB or are less than 13.
fix:
@@ -65,7 +65,7 @@ public class UserAPI {
protected void onResponse(@NonNull final Account account) {
// Store the logged in user Info for Profile Screen
loginPrefs.setUserInfo(username, account.getEmail(), account.getProfileImage(),
- account.requiresParentalConsent() || account.getAccountPrivacy() == Account.Privacy.PRIVATE);
+ !account.requiresParentalConsent() && account.getAccountPrivacy() == Account.Privacy.PRIVATE);
EventBus.getDefault().post(new AccountDataLoadedEvent(account));
}
}
