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,7 +301,10 @@ public class CameraXFragment extends Fragment implements CameraFragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void neverDisplayVideoRecordingTooltipAgain() {
|
private void neverDisplayVideoRecordingTooltipAgain() {
|
||||||
TextSecurePreferences.setHasSeenVideoRecordingTooltip(requireContext(), true);
|
Context context = getContext();
|
||||||
|
if (context != null) {
|
||||||
|
TextSecurePreferences.setHasSeenVideoRecordingTooltip(requireContext(), true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void hideAndDisableControlsForVideoRecording(@NonNull View captureButton,
|
private void hideAndDisableControlsForVideoRecording(@NonNull View captureButton,
|
||||||
|
|||||||
Reference in New Issue
Block a user