Fixes the order of the keyboard layouts.

Fixes #250.
This commit is contained in:
zonble 2022-01-20 14:20:10 +08:00
parent 25c50e67a4
commit cb05937478
1 changed files with 8 additions and 8 deletions

View File

@ -139,12 +139,12 @@ struct ComposingBufferSize {
// MARK: -
@objc enum KeyboardLayout: Int {
case standard
case eten
case eten26
case hsu
case hanyuPinyin
case IBM
case standard = 0
case eten = 1
case hsu = 2
case eten26 = 3
case hanyuPinyin = 4
case IBM = 5
var name: String {
switch (self) {
@ -152,10 +152,10 @@ struct ComposingBufferSize {
return "Standard"
case .eten:
return "ETen"
case .eten26:
return "ETen26"
case .hsu:
return "Hsu"
case .eten26:
return "ETen26"
case .hanyuPinyin:
return "HanyuPinyin"
case .IBM: