mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 09:48:41 +00:00
Fix potential tooltip crash.
This commit is contained in:
parent
cfb22825f4
commit
bfd0363390
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user