Avoid crash when removing a layout

Might happen when downgrading the app.
This commit is contained in:
Jules Aguillon 2021-12-19 20:04:17 +01:00
parent 1cfecbdf48
commit d721cc86d1

View File

@ -102,8 +102,7 @@ class Config
{
case "azerty": return R.xml.azerty;
case "qwerty": return R.xml.qwerty;
case "system": return -1;
default: throw new IllegalArgumentException();
case "system": default: return -1;
}
}