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