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
Yaser Naseri
Nebulo
Commits
4a2ff9b6
Commit
4a2ff9b6
authored
Jan 29, 2022
by
Daniel Wolf
Browse files
Syntax changes
parent
e19d5402
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/smokescreen/fragment/SettingsFragment.kt
View file @
4a2ff9b6
...
...
@@ -313,7 +313,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
helpNetguard
.
setOnPreferenceClickListener
{
AlertDialog
.
Builder
(
requireContext
(),
getPreferences
().
theme
.
dialogStyle
)
.
setTitle
(
"NetGuard"
)
.
setMessage
(
getString
(
R
.
string
.
dialog_nonvpn_help_netguard
,
bindAddressAsIP
,
port
.
text
.
toInt
(),
bindAddressAsIP
))
.
setMessage
(
getString
(
R
.
string
.
dialog_nonvpn_help_netguard
,
bindAddressAsIP
,
port
.
text
!!
.
toInt
(),
bindAddressAsIP
))
.
setPositiveButton
(
R
.
string
.
all_close
,
null
)
.
show
()
true
...
...
@@ -323,7 +323,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
}
helpGeneric
.
setOnPreferenceClickListener
{
val
portValue
=
port
.
text
.
toInt
()
val
portValue
=
port
.
text
!!
.
toInt
()
showInfoTextDialog
(
requireContext
(),
getString
(
R
.
string
.
preference_category_nonvpnmode_help
),
...
...
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