Skip to content

Commit

Permalink
transpiled file
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed Sep 6, 2024
1 parent d43d807 commit f4ebb90
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions playlet-lib/src/components/MainScene.transpiled.brs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
'import "pkg:/components/parts/AutoBind/AutoBind.part.bs"
'import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
'import "pkg:/source/utils/LoadingScreen.bs"
'import "pkg:/source/utils/Locale.bs"

function Init()
InitializeBindings() ' auto-generated!
Expand All @@ -20,7 +19,6 @@ function MainSceneContainerChanged()
InitEcpArgs()
m.scene.signalBeacon("AppLaunchComplete")
CopyLoadingMessagesToCache()
ShowAnnouncement()
end function

function StartWebServer()
Expand All @@ -31,27 +29,4 @@ function StartWebServer()
m.dialServer = m.top.findNode("DialServer")
m.dialServer.callfunc("StartServer", invalid)
end function

function ShowAnnouncement()
title = "Announcement"
message = [
"Hello again!"
"Invidious servers are actively getting blocked by YouTube."
"If you see the error message " + chr(34) + "This helps protect our community. Learn more" + chr(34) + " when playing a video, try changing the Invidious instance in the settings."
"This is a known issue and the Invidious dev team is working to fix it."
"See more information at https://github.com/iv-org/invidious/issues/4734"
"We apologize for the inconvenience."
]
buttons = [
Tr("OK")
]
dialog = CreateObject("roSGNode", "SimpleDialog")
dialog.title = title
dialog.message = message
dialog.buttons = buttons
deviceInfo = CreateObject("roDeviceInfo")
displaySize = deviceInfo.GetDisplaySize()
dialog.width = displaySize.w - 180
m.top.getScene().dialog = dialog
end function
'//# sourceMappingURL=./MainScene.brs.map

0 comments on commit f4ebb90

Please sign in to comment.