Merge pull request #251 from zonble/master

Fixes the order of the keyboard layouts.
This commit is contained in:
Lukhnos Liu 2022-01-19 22:37:40 -08:00 committed by GitHub
commit 4f718019e1
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: