Commit 6c4bb4fc authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Dialog when VPN permission is denied had no text

parent 980fa9b7
......@@ -168,6 +168,7 @@ class BackgroundVpnConfigureActivity : BaseActivity() {
private fun showPermissionDenialDialog() {
androidx.appcompat.app.AlertDialog.Builder(this, getPreferences().theme.dialogStyle)
.setTitle(getString(R.string.app_name) + " - " + getString(R.string.information))
.setMessage(R.string.dialog_vpn_permission_denied_message)
.setPositiveButton(R.string.open_app) { _, _ ->
val intent = PinActivity.openAppIntent(this)
startActivity(intent)
......
......@@ -184,4 +184,6 @@
<string name="dialog_raterequest_title">Are you enjoying Nebulo?</string>
<string name="dialog_raterequest_message">Hey there! If you are enjoying Nebulo, would you please take a moment to rate it on the store?</string>
<string name="dialog_vpn_permission_denied_message">The system has denied Nebulo to start it\'s VPN. Please open the app to grant the permission there by clicking the start button.</string>
</resources>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment