chore: remove Singleton & replace getIApp with getApp (#5514)

This commit is contained in:
pajlada
2024-07-21 15:09:59 +02:00
committed by GitHub
parent 21186df058
commit 5deec1f02f
145 changed files with 802 additions and 856 deletions
+1 -3
View File
@@ -129,9 +129,7 @@ protected:
this->settings = std::make_unique<Settings>(this->settingsDir_->path());
this->paths = std::make_unique<Paths>();
this->mockApplication->accounts.initialize(*this->settings,
*this->paths);
this->mockApplication->emotes.initialize(*this->settings, *this->paths);
this->mockApplication->accounts.load();
this->channelPtr = std::make_shared<MockChannel>("icelys");