|
|
@ -145,7 +145,8 @@ fun setTitleBar(text: String, content: ContentState) { |
|
|
|
onExit = { |
|
|
|
onExit = { |
|
|
|
refreshButtonHover.value = false |
|
|
|
refreshButtonHover.value = false |
|
|
|
false |
|
|
|
false |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
) |
|
|
|
.background(color = if (refreshButtonHover.value) TranslucentBlack else Transparent), |
|
|
|
.background(color = if (refreshButtonHover.value) TranslucentBlack else Transparent), |
|
|
|
onClick = { |
|
|
|
onClick = { |
|
|
|
if (content.isContentReady()) { |
|
|
|
if (content.isContentReady()) { |
|
|
@ -169,7 +170,8 @@ fun setPreviewImageUI(content: ContentState) { |
|
|
|
modifier = Modifier.background(color = DarkGray), |
|
|
|
modifier = Modifier.background(color = DarkGray), |
|
|
|
onClick = { |
|
|
|
onClick = { |
|
|
|
AppState.screenState(ScreenType.FullscreenImage) |
|
|
|
AppState.screenState(ScreenType.FullscreenImage) |
|
|
|
}) { |
|
|
|
} |
|
|
|
|
|
|
|
) { |
|
|
|
Card( |
|
|
|
Card( |
|
|
|
backgroundColor = Transparent, |
|
|
|
backgroundColor = Transparent, |
|
|
|
modifier = Modifier.preferredHeight(250.dp), |
|
|
|
modifier = Modifier.preferredHeight(250.dp), |
|
|
|