Fix gallery detail error tip not showing

This commit is contained in:
FooIbar authored and tarsin committed 2023-07-22 21:45:44 +08:00
1 parent c913a7eb9e
commit 46cf695bde
1 file changed
+2
@@ -474,6 +474,8 @@ class GalleryDetailScene : BaseScene() {
contentPadding = it,
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
)
} else if (getDetailError.isNotBlank()) {
GalleryDetailErrorTip(error = getDetailError, onClick = ::actionRefresh)
} else {
Box(
modifier = Modifier.fillMaxSize(),