File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,12 @@ public enum IndexTaskID: Sendable {
3636 public var emojiRepresentation : String {
3737 // Multiply by 2 and optionally add 1 to make sure preparation and update index store have distinct IDs.
3838 // Run .hashValue to make sure we semi-randomly pick new emoji markers for new tasks
39+ let numEmojis = 3
3940 switch self {
4041 case . preparation( id: let id) :
41- return Self . numberToEmojis ( ( id * 2 ) . hashValue, numEmojis: 2 )
42+ return Self . numberToEmojis ( ( id * 2 ) . hashValue, numEmojis: numEmojis )
4243 case . updateIndexStore( id: let id) :
43- return Self . numberToEmojis ( ( id * 2 + 1 ) . hashValue, numEmojis: 2 )
44+ return Self . numberToEmojis ( ( id * 2 + 1 ) . hashValue, numEmojis: numEmojis )
4445 }
4546 }
4647}
You can’t perform that action at this time.
0 commit comments