diff options
author | pacien | 2018-08-20 16:52:49 +0200 |
---|---|---|
committer | pacien | 2018-08-20 16:52:49 +0200 |
commit | 957826db1e46bffcd99ee52f21101728279521b9 (patch) | |
tree | 4fb7b0a511c9b50dc8f174cd272c8719fcee380b /app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt | |
parent | d6ea28ffe132807390721912f2310fd3f43d0405 (diff) | |
download | tincapp-957826db1e46bffcd99ee52f21101728279521b9.tar.gz |
Refactor start activity
Diffstat (limited to 'app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt')
-rw-r--r-- | app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt index 884229d..7176e25 100644 --- a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt +++ b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt | |||
@@ -91,7 +91,7 @@ class TincVpnService : VpnService() { | |||
91 | return reportError(resources.getString(R.string.message_passphrase_required)) | 91 | return reportError(resources.getString(R.string.message_passphrase_required)) |
92 | 92 | ||
93 | if (!AppPaths.storageAvailable()) | 93 | if (!AppPaths.storageAvailable()) |
94 | return reportError(resources.getString(R.string.message_storage_unavailable)) | 94 | return reportError(resources.getString(R.string.start_network_list_empty_storage_not_available)) |
95 | 95 | ||
96 | if (!AppPaths.confDir(netName).exists()) | 96 | if (!AppPaths.confDir(netName).exists()) |
97 | return reportError(resources.getString(R.string.message_no_configuration_for_network_format, netName), docTopic = "configuration") | 97 | return reportError(resources.getString(R.string.message_no_configuration_for_network_format, netName), docTopic = "configuration") |