Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kglazko committed Nov 14, 2019
1 parent 4de5609 commit 5d4ce61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/org/mozilla/fenix/utils/Undo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ fun CoroutineScope.allowUndo(
undoActionTitle: String,
onCancel: suspend () -> Unit = {},
operation: suspend () -> Unit,
anchorView: View? = null) {
// By using an AtomicBoolean, we achieve memory effects
// of reading and
anchorView: View? = null
) {
// By using an AtomicBoolean, we achieve memory effects of reading and
// writing a volatile variable.
val requestedUndo = AtomicBoolean(false)

Expand Down

0 comments on commit 5d4ce61

Please sign in to comment.