Skip to content

Commit

Permalink
Forbid using v for pins
Browse files Browse the repository at this point in the history
Fixes #860
  • Loading branch information
p0deje committed Sep 5, 2024
1 parent 5ae8b77 commit a4d26c4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Maccy/Models/HistoryItem.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ import SwiftData
@Model
class HistoryItem {
static var supportedPins: Set<String> {
// "q" reserved for quit
// "v" reserved for paste
var keys = Set([
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",
"n", "o", "p", "r", "s", "t", "u", "v", "w", "x", "y", "z" // "q" reserved for quit
"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l",
"m", "n", "o", "p", "r", "s", "t", "u", "w", "x", "y", "z"
])

if let deleteKey = KeyChord.deleteKey {
Expand Down

0 comments on commit a4d26c4

Please sign in to comment.