Commit 7e855c85 authored by Camilo higuita's avatar Camilo higuita

shuffle now working and it remebers last state

parent 73d4a8dd
This diff is collapsed.
......@@ -202,7 +202,6 @@ function savePlaylist()
list.push(url)
}
console.log("SAVING LIST", list)
bae.savePlaylist(list)
bae.savePlaylistPos(mainPlaylist.listView.currentIndex)
}
......
......@@ -138,8 +138,6 @@ Maui.Page
if(n>0)
{
console.log("GETTINGS LAST PLAYED TRACKS", list)
for(var i = 0; i < n; i++)
{
var where = "url = \""+list[i]+"\""
......
......@@ -58,7 +58,7 @@ BabeTable
onClicked:
{
autoSuggestions = !autoSuggestions
bae.saveSetting("AUTOSUGGESTIONS", autoSuggestions, "BABE")
Maui.FM.saveSettings("AUTOSUGGESTIONS", autoSuggestions, "BABE")
if(!autoSuggestions)
suggestionsPopup.close()
}
......@@ -94,7 +94,7 @@ BabeTable
{
savedQueries.unshift(searchTxt)
// suggestionsPopup.model.insert(0, {suggestion: searchInput.text})
bae.saveSetting("QUERIES", savedQueries.join(","), "BABE")
Maui.FM.saveSettings("QUERIES", savedQueries.join(","), "BABE")
}
searchTable.headBarTitle = searchTxt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment