mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
Fix build with latest Visual Studio.
This commit is contained in:
parent
f1451a1de3
commit
0fd752657a
1 changed files with 2 additions and 1 deletions
|
@ -405,7 +405,8 @@ void Calls::initCaptureButton(
|
|||
}
|
||||
|
||||
void Calls::requestPermissionAndStartTestingMicrophone() {
|
||||
using namespace ::Platform;
|
||||
using PermissionType = ::Platform::PermissionType;
|
||||
using PermissionStatus = ::Platform::PermissionStatus;
|
||||
const auto status = GetPermissionStatus(
|
||||
PermissionType::Microphone);
|
||||
if (status == PermissionStatus::Granted) {
|
||||
|
|
Loading…
Add table
Reference in a new issue