mirror of
https://github.com/Starlio-app/StarlioX
synced 2024-11-25 09:16:21 +03:00
autochangewallpaper replace wallpaper
This commit is contained in:
parent
6db4d752ba
commit
9e3ef92685
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ func Database() {
|
|||
sqlTable := `
|
||||
CREATE TABLE IF NOT EXISTS settings (
|
||||
startup INTEGER DEFAULT 0,
|
||||
autochangewallpaper INTEGER DEFAULT 0
|
||||
wallpaper INTEGER DEFAULT 0
|
||||
);`
|
||||
|
||||
_, err = db.Exec(sqlTable)
|
||||
|
@ -30,7 +30,7 @@ func Database() {
|
|||
Logger(err.Error())
|
||||
}
|
||||
|
||||
stmt, err := db.Prepare("INSERT INTO settings(startup, autochangewallpaper) values(?, ?)")
|
||||
stmt, err := db.Prepare("INSERT INTO settings(startup, wallpaper) values(?,?)")
|
||||
if err != nil {
|
||||
Logger(err.Error())
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue