fix keyboard type store
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
ebdead8766
commit
50c33450b9
2 changed files with 39 additions and 40 deletions
|
|
@ -1024,7 +1024,9 @@ impl LocalConfig {
|
|||
}
|
||||
|
||||
pub fn set_kb_layout_type(kb_layout_type: String) {
|
||||
LOCAL_CONFIG.write().unwrap().kb_layout_type = kb_layout_type
|
||||
let mut config = LOCAL_CONFIG.write().unwrap();
|
||||
config.kb_layout_type = kb_layout_type;
|
||||
config.store();
|
||||
}
|
||||
|
||||
pub fn get_size() -> Size {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue