Skip to content

Commit

Permalink
Another attempt to make loadStateFromPreferenceStore() less janky
Browse files Browse the repository at this point in the history
  • Loading branch information
jukofyork committed Nov 9, 2024
1 parent 3f9a1ff commit daa4e70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public void run() {
if (!tempConversation.isEmpty()) {
performOnMainView(mainView -> {
mainView.getChatMessageArea().setEnabled(false);
mainView.getChatMessageArea().setVisible(false);
//mainView.getChatMessageArea().setVisible(false);
});
for (ChatMessage message : tempConversation.messages()) {
switch (message.getRole()) {
Expand All @@ -290,7 +290,7 @@ public void run() {
}
performOnMainView(mainView -> {
mainView.getChatMessageArea().scrollToBottom();
mainView.getChatMessageArea().setVisible(true);
//mainView.getChatMessageArea().setVisible(true);
mainView.getChatMessageArea().setEnabled(true);
});
}
Expand Down

0 comments on commit daa4e70

Please sign in to comment.