[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Applied formatting patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Harwood committed Aug 30, 2022
1 parent d771a3d commit 082b493
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/camera/camera_avfoundation/ios/Classes/FLTCam.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)close;
- (void)startVideoRecordingWithResult:(FLTThreadSafeFlutterResult *)result;
- (void)startVideoRecordingWithResult:(FLTThreadSafeFlutterResult *)result
messengerForStreaming:(nullable NSObject<FlutterBinaryMessenger> *)messenger;
messengerForStreaming:(nullable NSObject<FlutterBinaryMessenger> *)messenger;
- (void)stopVideoRecordingWithResult:(FLTThreadSafeFlutterResult *)result;
- (void)pauseVideoRecordingWithResult:(FLTThreadSafeFlutterResult *)result;
- (void)resumeVideoRecordingWithResult:(FLTThreadSafeFlutterResult *)result;
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_avfoundation/ios/Classes/FLTCam.m
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ - (void)startVideoRecordingWithResult:(FLTThreadSafeFlutterResult *)result {
}

- (void)startVideoRecordingWithResult:(FLTThreadSafeFlutterResult *)result
messengerForStreaming:(nullable NSObject<FlutterBinaryMessenger> *)messenger {
messengerForStreaming:(nullable NSObject<FlutterBinaryMessenger> *)messenger {
if (!_isRecording) {
if (messenger != nil) {
[self startImageStreamWithMessenger:messenger];
Expand Down
3 changes: 2 additions & 1 deletion packages/camera/camera_windows/lib/camera_windows.dart
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ class CameraWindows extends CameraPlatform {
Function(CameraImageData image)? streamCallback,
CameraImageStreamOptions? streamOptions}) async {
if (streamCallback != null || streamOptions != null) {
throw UnimplementedError('Streaming is not currently supported on Windows');
throw UnimplementedError(
'Streaming is not currently supported on Windows');
}

await pluginChannel.invokeMethod<void>(
Expand Down

0 comments on commit 082b493

Please sign in to comment.