diff --git a/CHANGELOG.md b/CHANGELOG.md index d2e2f6dd..1abe64e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Ability to hide announcement messages +- [UX] Clarify that you can't login using Playlet built-in backend (Yet) ## [0.35.4] - 2025-01-07 diff --git a/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.bs b/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.bs index c00a4986..6a801f1a 100644 --- a/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.bs +++ b/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.bs @@ -38,6 +38,17 @@ function OnRowItemSelected() as void row = m.profileRowList.content.GetChild(0) selectedProfile = row.GetChild(index) if selectedProfile.type = "login" + invidiousInstance = m.preferences["invidious.instance"] + if StringUtils.IsNullOrEmpty(invidiousInstance) + DialogUtils.ShowDialogEx({ + title: "No Invidious Instance" + message: [ + "Playlet built-in backend does not support login yet.", + "Can only login if an Invidious instance is set in the settings." + ] + }) + return + end if dialog = CreateObject("roSGNode", "LoginDialog") dialog@.BindNode() m.top.getScene().dialog = dialog diff --git a/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.xml b/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.xml index 478cb905..8d4c6ab5 100644 --- a/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.xml +++ b/playlet-lib/src/components/Screens/ProfileScreen/ProfileScreen.xml @@ -3,6 +3,7 @@ +