Skip to content

Commit

Permalink
🐛 Fix isEditable set to the wrong value (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
qeude authored Apr 28, 2022
1 parent c50e105 commit 53bcb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftDown/SwiftDownEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ extension SwiftDownEditor {

public func isEditable(_ isEditable: Bool) -> Self {
var editor = self
editor.isEditable = true
editor.isEditable = isEditable
return editor
}
}

0 comments on commit 53bcb94

Please sign in to comment.