mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Refresh AI compose tones when the picker opens empty
This commit is contained in:
@@ -1177,6 +1177,9 @@ ComposeAiContent::ComposeAiContent(
|
||||
, _authorLabel(Ui::CreateChild<Ui::FlatLabel>(
|
||||
this,
|
||||
st::aiComposeAuthorLabel)) {
|
||||
if (_richSource && _tones.empty()) {
|
||||
_session->data().aiComposeTones().refresh();
|
||||
}
|
||||
_preview->setResizeCallback([=] { refreshLayout(); });
|
||||
_preview->setChooseCallback([=] { chooseLanguage(); });
|
||||
_preview->setCopyCallback([=] { copyResult(); });
|
||||
|
||||
Reference in New Issue
Block a user