Fix three minor compiler warnings.
This commit is contained in:
parent
ea55469ec8
commit
2cbb155e34
@ -436,8 +436,6 @@ class AudioMessageView: ManualStackView {
|
||||
}
|
||||
|
||||
private func updateViewedState(animated: Bool = true) {
|
||||
var isViewed = self.isViewed
|
||||
|
||||
let destination: AnimationProgressTime = isViewed ? 1 : 0
|
||||
|
||||
// Do nothing if we're already there.
|
||||
|
||||
@ -378,8 +378,6 @@ public struct CVLongPressHandler {
|
||||
return
|
||||
}
|
||||
|
||||
let shouldAllowReply = delegate.cvc_shouldAllowReplyForItem(itemViewModel)
|
||||
|
||||
switch gestureLocation {
|
||||
case .bodyText(let item):
|
||||
delegate.cvc_didLongPressBodyTextItem(.init(item: item))
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright (c) 2021 Open Whisper Systems. All rights reserved.
|
||||
// Copyright (c) 2022 Open Whisper Systems. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
@ -106,7 +106,7 @@ public class RegistrationPinAttemptsExhaustedViewController: RegistrationBaseVie
|
||||
func primaryButtonPressed() {
|
||||
Logger.info("")
|
||||
|
||||
guard let navigationController = navigationController else {
|
||||
guard navigationController != nil else {
|
||||
owsFailDebug("Missing navigationController")
|
||||
return
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user