refactor: Un-singletonize Paths & Updates (#5092)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
void FfzBadges::initialize(Settings &settings, Paths &paths)
|
||||
void FfzBadges::initialize(Settings &settings, const Paths &paths)
|
||||
{
|
||||
this->load();
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using EmotePtr = std::shared_ptr<const Emote>;
|
||||
class FfzBadges : public Singleton
|
||||
{
|
||||
public:
|
||||
void initialize(Settings &settings, Paths &paths) override;
|
||||
void initialize(Settings &settings, const Paths &paths) override;
|
||||
FfzBadges() = default;
|
||||
|
||||
struct Badge {
|
||||
|
||||
Reference in New Issue
Block a user