evansloan / collection-log

A Runelite plugin that adds visual improvements to the collection log
BSD 2-Clause "Simplified" License
15 stars 10 forks source link

AccountButtonPanel not recreated after API setting changed #44

Open poi56iop opened 1 year ago

poi56iop commented 1 year ago

Inside createAccountButtonPanel, uploadCollectionLogBtn.setVisible(config.allowApiConnections()); fails to reflect the current value of allowApiConnections unless the app is uninstalled and reinstalled; perhaps because the panel isn't rebuilt. I imagine this could be fixed inside onConfigChanged.