fix: configure ribbon all configuredGranularities
Addresses #230 previously only configuredGranularities[0] ribbon was being added, now a foreach over them is done.
You could lose the if (configuredGranularities.length) { at line 129 as it's redundant following your changes.
More importantly though, I think this method of deleting and then re-adding the ribbon icons is incorrect. I realise it did that in the previous implementation, and hasn't been introduced with this change, but it would be a good idea not to perpetuate it.
One way this incorrectness manifests itself is that if you re-order the ribbon icon, e.g. move the daily note icon to the top, and then exit the app and come back in, it's moved back to where it was previously.
I'm not familiar enough with Obsidian plugins to know what the best practice would be for this, but it doesn't happen with other plugins so I assume there is one.
Or maybe I'm wrong about the ribbon order, see #200