Closed LiamSwayne closed 6 months ago
A match block makes more sense than an if block in this scenario because the cases are mutually exclusive. The code has been made more concise, and match blocks are more efficient (although I haven't extensively tested the code).
match
if
Lgtm. Thank you for your interest in PyTaskbar. Will merge now
A
match
block makes more sense than anif
block in this scenario because the cases are mutually exclusive. The code has been made more concise, andmatch
blocks are more efficient (although I haven't extensively tested the code).