|
|
@@ -395,13 +395,12 @@ extension LNIMChatViewController {
|
|
|
} else if let userInfo = viewModel.userInfo {
|
|
|
if !userInfo.playmate {
|
|
|
showToast(.init(key: "A00292"))
|
|
|
+ } else if viewModel.myOrders.first(where: { $0.status == .accepted || $0.status == .waitingForAccept }) != nil {
|
|
|
+ showToast(.init(key: "A00293"))
|
|
|
} else {
|
|
|
let panel = LNCreateOrderFromSkillListPanel()
|
|
|
panel.update(userInfo.skills, selected: skillView.curSkill)
|
|
|
panel.popup()
|
|
|
- if viewModel.myOrders.first(where: { $0.status == .accepted || $0.status == .waitingForAccept }) != nil {
|
|
|
- showToast(.init(key: "A00293"))
|
|
|
- }
|
|
|
}
|
|
|
}
|
|
|
}), for: .touchUpInside)
|