Use getter for number of coffee uses
jhrcook opened this issue · comments
Josh Cook commented
Currently, the plugin pulls down all of the uses information for the day and then returns the length of the list. It would be faster and easier to just query the number of uses for the day directly.
SwiftBar-Plugins/coffee-tracker.15m.py
Lines 121 to 134 in d8a9805