QR экран: блокировка спама при смене темы — тема меняется только через circular reveal, нажатия игнорируются пока анимация не завершена.
This commit is contained in:
@@ -329,11 +329,10 @@ fun MyQrCodeScreen(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
onToggleTheme()
|
// drawToBitmap failed — skip
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
onToggleTheme()
|
|
||||||
}
|
}
|
||||||
|
// else: cooldown active — ignore tap
|
||||||
},
|
},
|
||||||
modifier = Modifier.onGloballyPositioned { coords ->
|
modifier = Modifier.onGloballyPositioned { coords ->
|
||||||
val pos = coords.positionInRoot()
|
val pos = coords.positionInRoot()
|
||||||
|
|||||||
Reference in New Issue
Block a user