File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -773,19 +773,7 @@ setInterval(() => {
773773} , 5000 )
774774
775775function TokenUIUpdate ( ) {
776- fetch ( "/api/questappversionswitcher/loggedinstatus" ) . then ( res => {
777- res . json ( ) . then ( res => {
778- if ( res . msg == "2" ) {
779- // Logged in
780- document . getElementById ( "loggedInMsg" ) . style . visibility = "visible"
781- document . getElementById ( "downgradeLoginMsg" ) . style . visibility = "hidden"
782- } else {
783- // Not logged in
784- document . getElementById ( "loggedInMsg" ) . style . visibility = "hidden"
785- document . getElementById ( "downgradeLoginMsg" ) . style . visibility = "visible"
786- }
787- } )
788- } )
776+ console . log ( "TokenUIUpdate removed due to no need for it rn" )
789777}
790778
791779var firstConfigFetch = true ;
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ public void Start()
153153 wsServer . StartServer ( CoreService . coreVars . wsPort ) ;
154154 server . AddRoute ( "GET" , "/api/currentsha256" , serverRequest =>
155155 {
156- if ( AndroidService . IsPackageInstalled ( CoreService . coreVars . currentApp ) )
156+ if ( ! AndroidService . IsPackageInstalled ( CoreService . coreVars . currentApp ) )
157157 {
158158 serverRequest . SendString ( GenericResponse . GetResponse ( "" , true ) , "application/json" ) ;
159159 return true ;
You can’t perform that action at this time.
0 commit comments