mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Added new Adaptive class to replace legacy Adaptive namespace.
Temporarily named class as AdaptiveModern.
This commit is contained in:
@@ -8,6 +8,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#pragma once
|
||||
|
||||
#include "mainwindow.h"
|
||||
#include "window/window_adaptive.h"
|
||||
#include "ui/layers/layer_widget.h"
|
||||
|
||||
namespace Main {
|
||||
@@ -39,6 +40,8 @@ public:
|
||||
}
|
||||
[[nodiscard]] bool locked() const;
|
||||
|
||||
[[nodiscard]] AdaptiveModern &adaptive() const;
|
||||
|
||||
void finishFirstShow();
|
||||
|
||||
void setupPasscodeLock();
|
||||
@@ -90,6 +93,7 @@ private:
|
||||
|
||||
Main::Account *_account = nullptr;
|
||||
::MainWindow _widget;
|
||||
const std::unique_ptr<AdaptiveModern> _adaptive;
|
||||
std::unique_ptr<SessionController> _sessionController;
|
||||
base::Timer _isActiveTimer;
|
||||
QPointer<Ui::BoxContent> _termsBox;
|
||||
|
Reference in New Issue
Block a user