Fix localized keys appearing on secondary layout

This commit is contained in:
Jules Aguillon 2022-11-13 00:39:31 +01:00
parent 51b330c616
commit b102ad9078

View File

@ -436,9 +436,7 @@ class KeyboardData
if (c == null)
return null;
KeyValue kv = apply(c.kv, c.localized);
if (kv == null)
return null;
return Corner.of_kv(kv);
return (kv == null) ? null : new Corner(kv, c.localized);
}
}