From 166652a0ebb3a1600c052e7faead29e880f98c1a Mon Sep 17 00:00:00 2001 From: yellows8 Date: Fri, 1 Mar 2019 22:25:23 -0500 Subject: [PATCH] Removed version check from webShareCreate. --- nx/include/switch/applets/web.h | 1 - nx/source/applets/web.c | 1 - 2 files changed, 2 deletions(-) diff --git a/nx/include/switch/applets/web.h b/nx/include/switch/applets/web.h index 1533c9cf..36ccc4c6 100644 --- a/nx/include/switch/applets/web.h +++ b/nx/include/switch/applets/web.h @@ -176,7 +176,6 @@ Result webYouTubeVideoCreate(WebCommonConfig* config, const char* url); /** * @brief Creates the config for ShareApplet. - * @note Only available on [2.0.0+]. * @note If a non-zero userID isn't set with \ref webConfigSetUserID prior to using \ref webConfigShow, the applet will launch the profile-selector applet to select an account. * @note Uses \ref webConfigSetLeftStickMode with mode=1, \ref webConfigSetUserID with userID=0, \ref webConfigSetDisplayUrlKind with kind=true, and sets WebArgType_Unknown14/WebArgType_Unknown15 to value 1. Uses \ref webConfigSetBootDisplayKind with WebBootDisplayKind_Unknown3. * @param config WebCommonConfig object. diff --git a/nx/source/applets/web.c b/nx/source/applets/web.c index bec4a9d6..5f4db225 100644 --- a/nx/source/applets/web.c +++ b/nx/source/applets/web.c @@ -264,7 +264,6 @@ Result webYouTubeVideoCreate(WebCommonConfig* config, const char* url) { Result webShareCreate(WebCommonConfig* config, WebShareStartPage page) { Result rc=0; - if (hosversionBefore(2,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer); _webArgInitialize(config, AppletId_loginShare, WebShimKind_Share);