Skip to content

Commit ec1af96

Browse files
committed
fix: EventContent RichText replace Webview when not Android
1 parent 85553c7 commit ec1af96

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

composeApp/src/commonMain/kotlin/ui/screens/EventContentPageScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import ui.navigation.EventContentRoute
3737
import utils.app.Constants
3838
import utils.app.DefaultZIndex
3939
import utils.app.FontSizeNormal14
40+
import utils.app.isAndroidPlatform
4041
import utils.app.isLinuxPlatform
4142
import utils.app.isMacOSPlatform
4243
import utils.app.isWindowsPlatform
@@ -136,7 +137,7 @@ fun EventContentPageScreen(
136137
eventImageDisplay(eventItem)
137138
}
138139
item {
139-
if(isWindowsPlatform() || isMacOSPlatform() || isLinuxPlatform()){
140+
if(!isAndroidPlatform() ){
140141
val richTextState = rememberRichTextState()
141142
RichText(
142143
state = richTextState.setHtml(htmlData),

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#Sun Mar 23 22:10:07 HKT 2025
1+
#Sun Mar 23 22:14:57 HKT 2025
22
APP_PLATFORM=Android
33
APP_PROFILE=PRODUCTION
44
APP_VERSION=2025.03.23
55
APP_VERSION_BETA=3.0.1
6-
APP_VERSION_CODE=8567
6+
APP_VERSION_CODE=8569
77
APP_VERSION_CODENAME=SG3
88
APP_VERSION_CODENAME_BETA=Echo
99
APP_VERSION_DESKTOP=1.0.2

0 commit comments

Comments
 (0)