Edit text-span selections with the plain AI Editor

This commit is contained in:
John Preston
2026-07-02 21:26:22 +04:00
parent 2867aece81
commit 4453b0ee3d
6 changed files with 195 additions and 152 deletions
@@ -1227,7 +1227,7 @@ ComposeAiContent::ComposeAiContent(
, _authorLabel(Ui::CreateChild<Ui::FlatLabel>(
this,
st::aiComposeAuthorLabel)) {
if (_richSource && _tones.empty()) {
if (_tones.empty()) {
_session->data().aiComposeTones().refresh();
}
_preview->setResizeCallback([=] { refreshLayout(); });