small fix
This commit is contained in:
parent
d46d30a30b
commit
f054a1fd94
1 changed files with 2 additions and 2 deletions
|
|
@ -575,9 +575,9 @@ class LibraryLocalSourceState extends _$LibraryLocalSourceState {
|
|||
bool build({required ItemType itemType, required Settings settings}) {
|
||||
switch (itemType) {
|
||||
case ItemType.manga:
|
||||
return settings.libraryLocalSource!;
|
||||
return settings.libraryLocalSource ?? false;
|
||||
case ItemType.anime:
|
||||
return settings.animeLibraryLocalSource!;
|
||||
return settings.animeLibraryLocalSource ?? false;
|
||||
default:
|
||||
return settings.novelLibraryLocalSource ?? false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue