Merge pull request #15994 from howard-stearns/steam-store-commerce

steam gets the oculus store commerce treatment
This commit is contained in:
Howard Stearns 2019-07-29 12:06:29 -07:00 committed by GitHub
commit b17e796f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1225,8 +1225,8 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo
#endif
bool isStore = property(hifi::properties::OCULUS_STORE).toBool();
DependencyManager::get<WalletScriptingInterface>()->setLimitedCommerce(isStore); // Or we could make it a separate arg, or if either arg is set, etc. And should this instead by a hifi::properties?
// Or we could make it a separate arg, or if either arg is set, etc. And should this instead by a hifi::properties?
DependencyManager::get<WalletScriptingInterface>()->setLimitedCommerce(isStore || property(hifi::properties::STEAM).toBool());
updateHeartbeat();