Fix cached ROM list failing to load

This commit is contained in:
Rafael Caetano 2023-02-24 13:10:44 +00:00
parent 1739650ba4
commit a5a651b771

View File

@ -43,7 +43,7 @@ class FileSystemRomsRepository(
private val coroutineScope = CoroutineScope(Dispatchers.Main)
private val disposables = CompositeDisposable()
private val romListType: Type = object : TypeToken<List<Rom>>(){}.type
private val romListType: Type = object : TypeToken<List<RomDto>>(){}.type
private val romsChannel = SubjectSharedFlow<List<Rom>>()
private val scanningStatusSubject = MutableStateFlow(RomScanningStatus.NOT_SCANNING)
private val roms: ArrayList<Rom> = ArrayList()