improve watch overlay layou

This commit is contained in:
galister
2025-12-17 16:13:32 +09:00
parent ea90853e56
commit e1a3471ed1
3 changed files with 15 additions and 3 deletions

View File

@@ -26,6 +26,13 @@ impl Translation {
}
}
pub fn from_raw_text_rc(text: Rc<str>) -> Self {
Self {
text,
translated: false,
}
}
pub fn from_raw_text(text: &str) -> Self {
Self {
text: Rc::from(text),