You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: example/holder/ui/core/impl/src/commonMain/kotlin/com/sphereon/kiwa/sample/ui/core/logs/LogViewerPresenterImpl.kt
Copy file name to clipboardExpand all lines: example/holder/ui/elicense/impl/src/commonMain/kotlin/com/sphereon/kiwa/sample/ui/elicense/assignment/ElicenseAssignmentPresenterImpl.kt
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -111,8 +111,8 @@ class ElicenseAssignmentPresenterImpl(
111
111
withContext(Dispatchers.Default) {
112
112
// Step 2: Yield multiple times to allow any pending coroutines to complete
113
113
repeat(3) { yield() }
114
-
// Step 3: Wait for render cycles to fully complete (iOS needs longer)
115
-
delay(300)
114
+
// Step 3: Show the success screen for a readable duration (2 seconds)
115
+
delay(SUCCESS_SCREEN_DISPLAY_MS)
116
116
}
117
117
// Step 4: Switch back to Main and yield again before navigating
118
118
withContext(Dispatchers.Main) {
@@ -236,5 +236,6 @@ class ElicenseAssignmentPresenterImpl(
236
236
237
237
privatecompanionobject {
238
238
constvalDEFAULT_ERROR_MESSAGE="Failed to assign e-license"
0 commit comments