Develop #19

Merged
wt merged 107 commits from develop into main 2026-10-13 09:42:23 +00:00
2 changed files with 17 additions and 17 deletions
Showing only changes of commit 6a2f27d92a - Show all commits

No files matched your search

+16 -16
View File
@@ -942,22 +942,22 @@ enum VideoNoteStopPolicy {
}
}
#if os(iOS)
extension VideoNoteRecorder {
fileprivate static var currentVideoOrientation: AVCaptureVideoOrientation {
switch UIDevice.current.orientation {
case .portraitUpsideDown:
return .portraitUpsideDown
case .landscapeLeft:
return .landscapeRight
case .landscapeRight:
return .landscapeLeft
default:
return .portrait
}
}
}
#endif
// #if os(iOS)
// extension VideoNoteRecorder {
// fileprivate static var currentVideoOrientation: AVCaptureVideoOrientation {
// switch UIDevice.current.orientation {
// case .portraitUpsideDown:
// return .portraitUpsideDown
// case .landscapeLeft:
// return .landscapeRight
// case .landscapeRight:
// return .landscapeLeft
// default:
// return .portrait
// }
// }
// }
// #endif
private enum VideoNoteRecorderError: LocalizedError {
case cameraPermissionDenied
+1 -1
View File
@@ -26,7 +26,7 @@ final class LumaRoomStore: RoomStore {
with jid: BareJID,
nickname: String,
password: String?
) -> ConversationCreateResult {
) -> ConversationCreateResult<RoomBase> {
queue.sync {
if let room = roomsByJID[jid] {
return .found(room)