mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Remove some calls to Auth().
This commit is contained in:
@@ -55,6 +55,9 @@ public:
|
||||
QWidget *parent,
|
||||
not_null<Window::SessionController*> controller,
|
||||
Mode mode = Mode::Full);
|
||||
~TabbedSelector();
|
||||
|
||||
AuthSession &session() const;
|
||||
|
||||
rpl::producer<EmojiPtr> emojiChosen() const;
|
||||
rpl::producer<not_null<DocumentData*>> fileChosen() const;
|
||||
@@ -99,8 +102,6 @@ public:
|
||||
return _showRequests.events();
|
||||
}
|
||||
|
||||
~TabbedSelector();
|
||||
|
||||
class Inner;
|
||||
class InnerFooter;
|
||||
|
||||
@@ -146,9 +147,7 @@ private:
|
||||
};
|
||||
|
||||
bool full() const;
|
||||
Tab createTab(
|
||||
SelectorTab type,
|
||||
not_null<Window::SessionController*> controller);
|
||||
Tab createTab(SelectorTab type);
|
||||
|
||||
void paintSlideFrame(Painter &p);
|
||||
void paintContent(Painter &p);
|
||||
@@ -185,6 +184,8 @@ private:
|
||||
not_null<StickersListWidget*> stickers() const;
|
||||
not_null<GifsListWidget*> gifs() const;
|
||||
|
||||
const not_null<Window::SessionController*> _controller;
|
||||
|
||||
Mode _mode = Mode::Full;
|
||||
int _roundRadius = 0;
|
||||
int _footerTop = 0;
|
||||
|
Reference in New Issue
Block a user