首页加载默认皮肤
This commit is contained in:
@@ -127,7 +127,14 @@ static const CGFloat kKBLettersRow2EdgeSpacerMultiplier = 0.5;
|
||||
}
|
||||
|
||||
KBKeyboardLayout *layout = [self kb_currentLayout];
|
||||
NSArray<KBKeyboardRowConfig *> *rows = layout.rows ?: @[];
|
||||
NSArray<KBKeyboardRowConfig *> *rows = nil;
|
||||
|
||||
if (self.shiftOn && layout.shiftRows.count > 0) {
|
||||
rows = layout.shiftRows;
|
||||
} else {
|
||||
rows = layout.rows ?: @[];
|
||||
}
|
||||
|
||||
if (rows.count < 4) {
|
||||
[self kb_buildLegacyLayout];
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user