2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Use app config value for QR login.

This commit is contained in:
John Preston
2019-11-27 12:45:23 +03:00
parent 55f83129b7
commit e6c86b19db
25 changed files with 191 additions and 91 deletions

View File

@@ -55,7 +55,6 @@ class Changelogs;
namespace Main {
class Account;
class AppConfig;
class Session final
: public base::has_weak_ptr
@@ -93,9 +92,6 @@ public:
[[nodiscard]] Stickers::EmojiPack &emojiStickersPack() {
return *_emojiStickersPack;
}
[[nodiscard]] AppConfig &appConfig() {
return *_appConfig;
}
[[nodiscard]] base::Observable<void> &downloaderTaskFinished();
@@ -148,7 +144,6 @@ private:
base::Timer _autoLockTimer;
const std::unique_ptr<ApiWrap> _api;
const std::unique_ptr<AppConfig> _appConfig;
const std::unique_ptr<Calls::Instance> _calls;
const std::unique_ptr<Storage::Downloader> _downloader;
const std::unique_ptr<Storage::Uploader> _uploader;