mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Detach SystemMediaControls from Window::Controller.
This commit is contained in:
@@ -233,7 +233,6 @@ public:
|
||||
|
||||
using FloatDelegate::floatPlayerAreaUpdated;
|
||||
|
||||
void closeBothPlayers();
|
||||
void stopAndClosePlayer();
|
||||
|
||||
bool preventsCloseSection(Fn<void()> callback) const;
|
||||
@@ -302,6 +301,8 @@ private:
|
||||
void hiderLayer(base::unique_qptr<Window::HistoryHider> h);
|
||||
void clearHider(not_null<Window::HistoryHider*> instance);
|
||||
|
||||
void closeBothPlayers();
|
||||
|
||||
[[nodiscard]] auto floatPlayerDelegate()
|
||||
-> not_null<Media::Player::FloatDelegate*>;
|
||||
not_null<Ui::RpWidget*> floatPlayerWidget() override;
|
||||
|
Reference in New Issue
Block a user