[skip ci] remove announcement
This commit is contained in:
1 parent
83d0b707b5
commit
e49f1e3023
3 files changed
+3
-69
No files matched your search
+3
-1
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
- Nothing worth mentioning yet
|
||||
### Changed
|
||||
|
||||
- Removed announcement - most public instances are not updated
|
||||
|
||||
## [0.23.2] - 2024-04-27
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ import "pkg:/components/EcpArgs.bs"
|
||||
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()
|
||||
m.scene = m.top.getScene()
|
||||
@@ -19,7 +18,6 @@ function MainSceneContainerChanged()
|
||||
InitEcpArgs()
|
||||
m.scene.signalBeacon("AppLaunchComplete")
|
||||
CopyLoadingMessagesToCache()
|
||||
ShowAnnouncement()
|
||||
end function
|
||||
|
||||
function StartWebServer()
|
||||
@@ -32,37 +30,3 @@ function StartWebServer()
|
||||
m.dialServer = m.top.findNode("DialServer")
|
||||
m.dialServer@.StartServer()
|
||||
end function
|
||||
|
||||
function ShowAnnouncement()
|
||||
title = "Announcement"
|
||||
|
||||
message = [
|
||||
"Invidious was experiencing an outage, and a fix has been deployed.",
|
||||
"If you are experiencing issues playing videos:",
|
||||
]
|
||||
|
||||
bulletText = [
|
||||
"For custom Invidious instances, please update to the latest version.",
|
||||
"For public Invidious instances, go to Settings -> Invidious -> Instance, and select an instance with a version 2024.04.27 or newer."
|
||||
]
|
||||
|
||||
bottomMessage = [
|
||||
"If you don't know what instance you're using, follow the instructions from step 2."
|
||||
"We apologize for the inconvenience."
|
||||
]
|
||||
|
||||
buttons = [Tr(Locale.Buttons.OK)]
|
||||
|
||||
dialog = CreateObject("roSGNode", "SimpleDialog")
|
||||
dialog.title = title
|
||||
dialog.message = message
|
||||
dialog.bulletText = bulletText
|
||||
dialog.bulletType = "numbered"
|
||||
dialog.bottomMessage = bottomMessage
|
||||
dialog.buttons = buttons
|
||||
deviceInfo = CreateObject("roDeviceInfo")
|
||||
displaySize = deviceInfo.GetDisplaySize()
|
||||
dialog.width = displaySize.w - 180
|
||||
|
||||
m.top.getScene().dialog = dialog
|
||||
end function
|
||||
@@ -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!
|
||||
@@ -20,7 +19,6 @@ function MainSceneContainerChanged()
|
||||
InitEcpArgs()
|
||||
m.scene.signalBeacon("AppLaunchComplete")
|
||||
CopyLoadingMessagesToCache()
|
||||
ShowAnnouncement()
|
||||
end function
|
||||
|
||||
function StartWebServer()
|
||||
@@ -31,34 +29,4 @@ function StartWebServer()
|
||||
m.dialServer = m.top.findNode("DialServer")
|
||||
m.dialServer.callfunc("StartServer", invalid)
|
||||
end function
|
||||
|
||||
function ShowAnnouncement()
|
||||
title = "Announcement"
|
||||
message = [
|
||||
"Invidious was experiencing an outage, and a fix has been deployed."
|
||||
"If you are experiencing issues playing videos:"
|
||||
]
|
||||
bulletText = [
|
||||
"For custom Invidious instances, please update to the latest version."
|
||||
"For public Invidious instances, go to Settings -> Invidious -> Instance, and select an instance with a version 2024.04.27 or newer."
|
||||
]
|
||||
bottomMessage = [
|
||||
"If you don't know what instance you're using, follow the instructions from step 2."
|
||||
"We apologize for the inconvenience."
|
||||
]
|
||||
buttons = [
|
||||
Tr("OK")
|
||||
]
|
||||
dialog = CreateObject("roSGNode", "SimpleDialog")
|
||||
dialog.title = title
|
||||
dialog.message = message
|
||||
dialog.bulletText = bulletText
|
||||
dialog.bulletType = "numbered"
|
||||
dialog.bottomMessage = bottomMessage
|
||||
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
|
||||
Reference in new issue
Block a user