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
Charles
Nebulo
Commits
32ba14cb
Commit
32ba14cb
authored
Dec 08, 2019
by
Daniel Wolf
Browse files
Don't start the service when it is not prepared but the info dialog has been shown before
parent
6c4bb4fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/fragment/MainFragment.kt
View file @
32ba14cb
...
...
@@ -178,7 +178,7 @@ class MainFragment : Fragment() {
getPreferences
().
vpnInformationShown
=
true
}
else
{
if
(
getPreferences
().
vpnInformationShown
)
{
requireContext
().
startService
(
Inten
t
(
re
quireContext
(),
DnsVpnService
::
class
.
java
)
)
startActivityForResul
t
(
p
re
pare
,
vpnRequestCode
)
}
else
{
showInfoTextDialog
(
requireContext
(),
getString
(
R
.
string
.
dialog_vpninformation_title
),
...
...
Write
Preview
Supports
Markdown
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