mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 04:32:32 +00:00
refactor: refactored in-app purchase interface
This commit is contained in:
@@ -101,7 +101,7 @@ enum RadarrDatabase<T> with LunaTableMixin<T> {
|
||||
return;
|
||||
}
|
||||
if (this == RadarrDatabase.DEFAULT_VIEW_MOVIES) {
|
||||
final item = LunaListViewOption.GRID_VIEW.fromKey(value.toString());
|
||||
final item = LunaListViewOption.fromKey(value.toString());
|
||||
if (item != null) update(item as T);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ enum SonarrDatabase<T> with LunaTableMixin<T> {
|
||||
return;
|
||||
}
|
||||
if (this == SonarrDatabase.DEFAULT_VIEW_SERIES) {
|
||||
final item = LunaListViewOption.GRID_VIEW.fromKey(value.toString());
|
||||
final item = LunaListViewOption.fromKey(value.toString());
|
||||
if (item != null) update(item as T);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user