Update history regardless of availability

In case the gallery is taken down by DMCA.
This commit is contained in:
FooIbar committed 2023-12-18 13:56:01 +08:00
1 parent 3b07b6997d
commit 8ee28a4b4f
1 file changed
+1
@@ -275,6 +275,7 @@ fun GalleryDetailScreen(args: GalleryDetailScreenArgs, navigator: DestinationsNa
}
}
}.onFailure {
galleryInfo?.let { info -> EhDB.putHistoryInfo(info.findBaseInfo()) }
getDetailError = ExceptionUtils.getReadableString(it)
}.getOrNull()
galleryDetail?.let {