- extract hasNotifications to a variable this is more clear and potentially faster as we don't compute `notifications > 0` multiple times - make a text style const