mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 13:02:38 +02:00
Removed version check from webShareCreate.
This commit is contained in:
parent
dc3cf7084e
commit
166652a0eb
@ -176,7 +176,6 @@ Result webYouTubeVideoCreate(WebCommonConfig* config, const char* url);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Creates the config for ShareApplet.
|
* @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 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.
|
* @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.
|
* @param config WebCommonConfig object.
|
||||||
|
@ -264,7 +264,6 @@ Result webYouTubeVideoCreate(WebCommonConfig* config, const char* url) {
|
|||||||
|
|
||||||
Result webShareCreate(WebCommonConfig* config, WebShareStartPage page) {
|
Result webShareCreate(WebCommonConfig* config, WebShareStartPage page) {
|
||||||
Result rc=0;
|
Result rc=0;
|
||||||
if (hosversionBefore(2,0,0)) return MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer);
|
|
||||||
|
|
||||||
_webArgInitialize(config, AppletId_loginShare, WebShimKind_Share);
|
_webArgInitialize(config, AppletId_loginShare, WebShimKind_Share);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user