mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-24 03:16:27 +00:00
Fix potential tooltip crash.
This commit is contained in:
@@ -301,8 +301,11 @@ public class CameraXFragment extends Fragment implements CameraFragment {
|
||||
}
|
||||
|
||||
private void neverDisplayVideoRecordingTooltipAgain() {
|
||||
Context context = getContext();
|
||||
if (context != null) {
|
||||
TextSecurePreferences.setHasSeenVideoRecordingTooltip(requireContext(), true);
|
||||
}
|
||||
}
|
||||
|
||||
private void hideAndDisableControlsForVideoRecording(@NonNull View captureButton,
|
||||
@NonNull View flashButton,
|
||||
|
||||
Reference in New Issue
Block a user