fix(ui): make the article title selectable

The title Text sat outside any SelectionContainer, so the headword
could not be copied.
This commit is contained in:
OneWay authored and Evgenii committed 2026-09-21 13:24:41 +08:00
1 parent c0c9211b82
commit 4caf3a534d
1 file changed
+2
@@ -248,6 +248,7 @@ fun ArticleTitleBar(
}
}
SelectionContainer {
Text(
text = title,
style = MaterialTheme.typography.dictionaryTitleLarge,
@@ -262,6 +263,7 @@ fun ArticleTitleBar(
}
}
}
}
@OptIn(ExperimentalMaterial3Api::class)
@Composable