fix: code review notes

This commit is contained in:
Ivan Smolin 2022-12-07 11:05:16 +03:00
parent 2a89de15e3
commit ba929fd344
2 changed files with 2 additions and 1 deletions

View File

@ -210,6 +210,7 @@ open class DefaultJsonNetworkService: ApiInteractor {
preprocessors: preprocessors.dropFirst(),
cancellableBag: cancellableBag,
completion: completion)
case let .failure(error):
completion(.failure(error))
}

View File

@ -181,7 +181,7 @@ open class BaseTextAttributes {
.size
}
open func heigth(of string: String?,
open func height(of string: String?,
with width: CGFloat,
options: NSStringDrawingOptions = [.usesFontLeading, .usesLineFragmentOrigin],
context: NSStringDrawingContext? = nil) -> CGFloat {