mirror of
https://github.com/wahyd4/Yep.git
synced 2026-08-09 04:46:35 +10:00
only recover state that don't change height
This commit is contained in:
@@ -340,7 +340,8 @@ class ConversationViewController: BaseViewController {
|
||||
}
|
||||
|
||||
// 这句要放在最后,因为它会触发 stateTransitionAction
|
||||
if state != .MoreMessages {
|
||||
// 只恢复不改变高度的状态
|
||||
if state == .VoiceRecord {
|
||||
messageToolbar.state = state
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user