We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c91fbb4 commit 0924124Copy full SHA for 0924124
sample-app/src/main/java/at/bitfire/cert4android/demo/MainActivity.kt
@@ -179,6 +179,7 @@ class MainActivity : ComponentActivity() {
179
private val _certificateFlow = MutableStateFlow<X509Certificate?>(null)
180
val certificateFlow: StateFlow<X509Certificate?> = _certificateFlow
181
182
+ @Volatile
183
private var userDecision: CompletableDeferred<Boolean> = CompletableDeferred()
184
185
fun setUserDecision(decision: Boolean) {
0 commit comments