fromStorageIndex static method
إنشاء وضع من رقم الفهرس المخزّن
Implementation
static QuranDisplayMode fromStorageIndex(int idx) {
if (idx >= 0 && idx < QuranDisplayMode.values.length) {
return QuranDisplayMode.values[idx];
}
return QuranDisplayMode.defaultMode;
}