Updated word display #19
@@ -318,7 +318,7 @@ impl NavigatedPage<DictionaryMessage> for DictionaryState {
|
||||
word.value = value;
|
||||
}
|
||||
Tags => {
|
||||
word.key = value;
|
||||
word.tags = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -873,9 +873,9 @@ pub fn split_with_coma(ts: &str) -> Vec<String> {
|
||||
#[derive(Clone, Hash, PartialEq, Eq)]
|
||||
struct WordLineState {
|
||||
is_included: bool,
|
||||
key: Box<str>,
|
||||
value: Box<str>,
|
||||
tags: Box<str>,
|
||||
key: String,
|
||||
value: String,
|
||||
tags: String,
|
||||
handle: EntityHandle<WordData>,
|
||||
selection: Option<BasicWordFields>,
|
||||
number: usize,
|
||||
|
||||
Reference in new issue
Block a user