Removed version check from webShareCreate.

This commit is contained in:
yellows8 2019-03-01 22:25:23 -05:00
parent dc3cf7084e
commit 166652a0eb
2 changed files with 0 additions and 2 deletions

View File

@ -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.

View File

@ -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);