#305 Remove share button when offline and not allowed