diff --git a/CHANGELOG.md b/CHANGELOG.md index a9a97a5f..5a10ffea 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 - A field to indicate when a playlist was last updated +- Voice search in search page ## [0.11.0] - 2023-09-10 diff --git a/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.bs b/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.bs index 973400be..894ff7f8 100644 --- a/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.bs +++ b/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.bs @@ -14,6 +14,10 @@ function Init() m.scrollAnimation = m.top.FindNode("scrollAnimation") m.scrollAnimationInterpolator = m.top.FindNode("scrollAnimationInterpolator") m.suggestions = m.top.FindNode("suggestions") + + textEditBox = m.keyboard.textEditBox + textEditBox.voiceEntryType = "generic" + textEditBox.voiceEnabled = true end function function OnNodeReady() diff --git a/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml b/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml index 8c267c81..c625e2cb 100644 --- a/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml +++ b/playlet-lib/src/components/Screens/SearchScreen/SearchScreen.xml @@ -7,7 +7,7 @@ -