Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions web/src/engine/src/keyboard-storage/keyboardStub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ export class KeyboardStub extends KeyboardProperties {
}
}

public validateForCustomKeyboard(): Error {
if(super.validateForCustomKeyboard() || !this.KF || !this.KR) {
return new Error('To use a custom keyboard, you must specify file name, keyboard id, keyboard name, language, language code, and region.');
public validateForCustomKeyboard(): Error|null {
if(super.validateForCustomKeyboard() || !this.KF) {
return new Error('To use a custom keyboard, you must specify file name, keyboard id, keyboard name, language and language code.');
} else {
return null;
}
Expand Down
Loading