From a9ef02d29ae07ec8139da0eb3cf0971f201cfbb1 Mon Sep 17 00:00:00 2001 From: mgwynn Date: Fri, 25 Jun 2021 15:37:14 -0400 Subject: [PATCH] Renaming nativeUI mode setting for all platforms --- .../Android/AzCore/NativeUI/NativeUISystemComponent_Android.cpp | 2 +- .../Platform/Mac/AzCore/NativeUI/NativeUISystemComponent_Mac.mm | 2 +- .../Platform/iOS/AzCore/NativeUI/NativeUISystemComponent_iOS.mm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/Framework/AzCore/Platform/Android/AzCore/NativeUI/NativeUISystemComponent_Android.cpp b/Code/Framework/AzCore/Platform/Android/AzCore/NativeUI/NativeUISystemComponent_Android.cpp index abdb7c279c..3fc313f077 100644 --- a/Code/Framework/AzCore/Platform/Android/AzCore/NativeUI/NativeUISystemComponent_Android.cpp +++ b/Code/Framework/AzCore/Platform/Android/AzCore/NativeUI/NativeUISystemComponent_Android.cpp @@ -24,7 +24,7 @@ namespace AZ { AZStd::string NativeUISystem::DisplayBlockingDialog(const AZStd::string& title, const AZStd::string& message, const AZStd::vector& options) const { - if (m_mode == NativeUI::Mode::CONSOLE) + if (m_mode == NativeUI::Mode::DISABLED) { return {}; } diff --git a/Code/Framework/AzCore/Platform/Mac/AzCore/NativeUI/NativeUISystemComponent_Mac.mm b/Code/Framework/AzCore/Platform/Mac/AzCore/NativeUI/NativeUISystemComponent_Mac.mm index 09d5ce1e67..6b8be734fe 100644 --- a/Code/Framework/AzCore/Platform/Mac/AzCore/NativeUI/NativeUISystemComponent_Mac.mm +++ b/Code/Framework/AzCore/Platform/Mac/AzCore/NativeUI/NativeUISystemComponent_Mac.mm @@ -28,7 +28,7 @@ namespace AZ { AZStd::string NativeUISystem::DisplayBlockingDialog(const AZStd::string& title, const AZStd::string& message, const AZStd::vector& options) const { - if (m_mode == NativeUI::Mode::CONSOLE) + if (m_mode == NativeUI::Mode::DISABLED) { return {}; } diff --git a/Code/Framework/AzCore/Platform/iOS/AzCore/NativeUI/NativeUISystemComponent_iOS.mm b/Code/Framework/AzCore/Platform/iOS/AzCore/NativeUI/NativeUISystemComponent_iOS.mm index ce5a9ae918..9592d81d3c 100644 --- a/Code/Framework/AzCore/Platform/iOS/AzCore/NativeUI/NativeUISystemComponent_iOS.mm +++ b/Code/Framework/AzCore/Platform/iOS/AzCore/NativeUI/NativeUISystemComponent_iOS.mm @@ -20,7 +20,7 @@ namespace AZ { AZStd::string NativeUISystem::DisplayBlockingDialog(const AZStd::string& title, const AZStd::string& message, const AZStd::vector& options) const { - if (m_mode == NativeUI::Mode::CONSOLE) + if (m_mode == NativeUI::Mode::DISABLED) { return {}; }