Skip to content

Commit

Permalink
2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rztime committed Nov 28, 2023
1 parent 97a854b commit 5fbb4eb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ target 'RZRichTextView_Example' do
# pod 'FBSnapshotTestCase' , '~> 2.1.4'
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
end
end
end
# post_install do |installer|
# installer.pods_project.targets.each do |target|
# target.build_configurations.each do |config|
# config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
# end
# end
# end

end
2 changes: 1 addition & 1 deletion RZRichTextView.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'RZRichTextView'
s.version = '2.1.0'
s.version = '2.1.1'
s.summary = 'RZRichTextView. 原生UITextView,支持富文本输入(图片,视频,列表序号,文本颜色大小各种样式等等)'

# This description is used to generate tags and improve search results.
Expand Down
5 changes: 4 additions & 1 deletion RZRichTextView/Classes/RZRichTextViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,11 @@ open class RZRichTextViewModel: NSObject {
}
self?.uploadAttachmentsComplete.accept(finish)
}

self?.attachmentInfoDispose = .init()
guard attachments.count > 0 else {
checkupload()
return
}
attachments.forEach { [weak self] info in
info.uploadStatus.subscribe({ value in
checkupload()
Expand Down
4 changes: 4 additions & 0 deletions UpdataLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
* v2.1.1
* . 修复只有一个附件,删除时,uploadAttachmentsComplete重新设值


* v2.1.0
* . 优化列表功能,解决列表带来的一系列bug
* . 支持gif等显示
Expand Down

0 comments on commit 5fbb4eb

Please sign in to comment.