Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dave Griffiths
mongoose-2000
Commits
45185fda
Commit
45185fda
authored
Nov 28, 2013
by
Dave Griffiths
Browse files
synced sound
parent
f44ece40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
android/assets/starwisp.scm
android/assets/starwisp.scm
+11
-2
No files found.
android/assets/starwisp.scm
View file @
45185fda
...
...
@@ -295,7 +295,10 @@
(
cond
((
null?
r
)
(
debug!
"All files up to date"
)
(
set-current!
'download
1
)
(
append
(
if
(
eqv?
(
get-current
'upload
0
)
1
)
(
list
(
play-sound
"ping"
))
'
())
(
list
(
toast
"All files up to date"
))
r
))
(
else
...
...
@@ -323,8 +326,12 @@
(
toast
"Uploading data..."
)))
(
else
(
debug!
"No data changed to upload"
)
(
list
(
toast
"No data changed to upload"
))))
r
)))
(
set-current!
'upload
1
)
(
append
(
if
(
eqv?
(
get-current
'download
0
)
1
)
(
list
(
play-sound
"ping"
))
'
())
(
list
(
toast
"No data changed to upload"
))))
r
))))
(
define
(
connect-to-net
fn
)
(
list
...
...
@@ -1676,6 +1683,8 @@
(
horiz
(
mbutton2
"sync-all"
"Sync me"
(
lambda
()
(
set-current!
'upload
0
)
(
set-current!
'download
0
)
(
connect-to-net
(
lambda
()
(
append
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment