Skip to content

Commit 65e603e

Browse files
committed
Select the first chat tab after restoring
1 parent 9b0b4bc commit 65e603e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Core/Sources/Service/GUI/GraphicalUserInterfaceController.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ struct GUI: ReducerProtocol {
3636
get {
3737
.init(
3838
chatTabInfo: chatTabGroup.tabInfo,
39-
isRestoreFinished: isChatTabRestoreFinished
39+
isRestoreFinished: isChatTabRestoreFinished,
40+
selectedChatTapId: chatTabGroup.selectedTabId
4041
)
4142
}
4243
set {
4344
chatTabGroup.tabInfo = newValue.chatTabInfo
4445
isChatTabRestoreFinished = newValue.isRestoreFinished
46+
chatTabGroup.selectedTabId = newValue.selectedChatTapId
4547
}
4648
}
4749
#endif

Pro

Submodule Pro updated from feddadd to a6cef6f

0 commit comments

Comments
 (0)