mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixes for Audio Player in touchbar.
- Removed unused Platform::SetTouchBar. - Added rpl::event_stream in Media Player Instance for handle closing player. - Fixed hiding of touchbar when last track is ended. - Fixed display of time when last track is ended. - Slightly refactored.
This commit is contained in:
@@ -406,10 +406,6 @@ void RequestPermission(PermissionType type, Fn<void(PermissionStatus)> resultCal
|
||||
void OpenSystemSettingsForPermission(PermissionType type) {
|
||||
}
|
||||
|
||||
void SetTouchBar(TouchBarType type) {
|
||||
// TouchBar is Mac only feature.
|
||||
}
|
||||
|
||||
bool OpenSystemSettings(SystemSettingsType type) {
|
||||
if (type == SystemSettingsType::Audio) {
|
||||
auto options = std::vector<QString>();
|
||||
|
Reference in New Issue
Block a user