saveData() {
		if (!this.currentList) {return}
		DatabaseInfoModule.saveInfo(database, "Lists", {value: this.currentList});
		DatabaseInfoModule.saveInfo(database, "To-do information", {key: "currentList", value: this.currentList.id});
		DatabaseInfoModule.saveInfo(database, "To-do information", {key: "currentListIndex", value: this.currentListIndex});
		DatabaseInfoModule.saveInfo(database, "To-do information", {key: "lists", value: this.lists});
	}
/**
		* Saves the app information into the database
		*/
Saves the app information into the database
Saves the app information into the database
saveData() {
		if (!this.currentList) {return}
		DatabaseInfoModule.saveInfo(database, "Lists", {value: this.currentList});
		DatabaseInfoModule.saveInfo(database, "To-do information", {key: "currentList", value: this.currentList.id});
		DatabaseInfoModule.saveInfo(database, "To-do information", {key: "currentListIndex", value: this.currentListIndex});
		DatabaseInfoModule.saveInfo(database, "To-do information", {key: "lists", value: this.lists});
	}
saveData ( ) { if ( ! this . currentList ) { return } DatabaseInfoModule . saveInfo ( database , "Lists" , { value : this . currentList } ) ; DatabaseInfoModule . saveInfo ( database , "To-do information" , { key : "currentList" , value : this . currentList . id } ) ; DatabaseInfoModule . saveInfo ( database , "To-do information" , { key : "currentListIndex" , value : this . currentListIndex } ) ; DatabaseInfoModule . saveInfo ( database , "To-do information" , { key : "lists" , value : this . lists } ) ; }
Saves the app information into the database
Saves the app information into the database