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 {
36
36
public var emojiRepresentation : String {
37
37
// Multiply by 2 and optionally add 1 to make sure preparation and update index store have distinct IDs.
38
38
// Run .hashValue to make sure we semi-randomly pick new emoji markers for new tasks
39
+ let numEmojis = 3
39
40
switch self {
40
41
case . preparation( id: let id) :
41
- return Self . numberToEmojis ( ( id * 2 ) . hashValue, numEmojis: 2 )
42
+ return Self . numberToEmojis ( ( id * 2 ) . hashValue, numEmojis: numEmojis )
42
43
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 )
44
45
}
45
46
}
46
47
}
You can’t perform that action at this time.
0 commit comments