Skip to content

Commit b992ae1

Browse files
CopilotVegardHV
andauthored
fix: discard Task return value from PlatformStart calls in ConfirmState
Agent-Logs-Url: https://github.com/DIPSAS/DIPS.Mobile.UI/sessions/ff23bcae-30d9-41cd-90ca-d0a3edab3b50 Co-authored-by: VegardHV <71251242+VegardHV@users.noreply.github.com>
1 parent bb12a18 commit b992ae1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/library/DIPS.Mobile.UI/API/Camera/ImageCapturing/ImageCapture.ConfirmState.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void IConfirmStateObserver.OnUsePhotoButtonTapped()
7676
if (m_cameraSession is MultiCaptureSession)
7777
{
7878
GoToStreamingState();
79-
PlatformStart(m_cameraSession.CameraOptions, m_cameraFailedDelegate);
79+
_ = PlatformStart(m_cameraSession.CameraOptions, m_cameraFailedDelegate);
8080
return;
8181
}
8282

@@ -87,6 +87,6 @@ void IConfirmStateObserver.OnUsePhotoButtonTapped()
8787
void IConfirmStateObserver.OnRetakePhotoButtonTapped()
8888
{
8989
GoToStreamingState();
90-
PlatformStart(m_cameraSession.CameraOptions, m_cameraFailedDelegate);
90+
_ = PlatformStart(m_cameraSession.CameraOptions, m_cameraFailedDelegate);
9191
}
9292
}

0 commit comments

Comments
 (0)