mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-02-17 01:50:55 +01:00
Avoid crash when removing a layout
Might happen when downgrading the app.
This commit is contained in:
parent
1cfecbdf48
commit
d721cc86d1
@ -102,8 +102,7 @@ class Config
|
|||||||
{
|
{
|
||||||
case "azerty": return R.xml.azerty;
|
case "azerty": return R.xml.azerty;
|
||||||
case "qwerty": return R.xml.qwerty;
|
case "qwerty": return R.xml.qwerty;
|
||||||
case "system": return -1;
|
case "system": default: return -1;
|
||||||
default: throw new IllegalArgumentException();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user