Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nathan OBrian
Nebulo
Commits
2274e406
Commit
2274e406
authored
Aug 10, 2019
by
Daniel Wolf
Browse files
Dismiss the dialog when refreshing
parent
89c1350a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/dialog/HostSourceRefreshDialog.kt
View file @
2274e406
...
...
@@ -38,6 +38,7 @@ class HostSourceRefreshDialog(context:Context,
setView
(
view
)
view
.
refreshNow
.
setOnClickListener
{
runRefresh
()
dismiss
()
}
val
changeAutomaticRefreshStatus
:(
Boolean
)
->
Unit
=
{
isChecked
->
view
.
refreshWifiOnly
.
isEnabled
=
isChecked
...
...
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