aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt
diff options
context:
space:
mode:
authorpacien2018-08-22 22:44:53 +0200
committerpacien2018-08-22 22:44:53 +0200
commit718c152a6a63a20c5a49f32f6f0884e32848f4e9 (patch)
tree90695a395b88c9dcbe028fe88e3fbf04c2f5ea3b /app/src/main/java/org/pacien/tincapp/commands/TincApp.kt
parent24c881750aee124a95ec803755ee9334597e5b09 (diff)
downloadtincapp-718c152a6a63a20c5a49f32f6f0884e32848f4e9.tar.gz
Re-organise string resources
Diffstat (limited to 'app/src/main/java/org/pacien/tincapp/commands/TincApp.kt')
-rw-r--r--app/src/main/java/org/pacien/tincapp/commands/TincApp.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt b/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt
index 32fc1f9..e7ad8e5 100644
--- a/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt
+++ b/app/src/main/java/org/pacien/tincapp/commands/TincApp.kt
@@ -44,7 +44,7 @@ object TincApp {
44 it.ed25519PrivateKeyFile ?: AppPaths.defaultEd25519PrivateKeyFile(netName)) 44 it.ed25519PrivateKeyFile ?: AppPaths.defaultEd25519PrivateKeyFile(netName))
45 } 45 }
46 } catch (e: FileNotFoundException) { 46 } catch (e: FileNotFoundException) {
47 throw FileNotFoundException(App.getResources().getString(R.string.message_network_config_not_found_format, e.message!!)) 47 throw FileNotFoundException(App.getResources().getString(R.string.notification_error_message_network_config_not_found_format, e.message!!))
48 } 48 }
49 49
50 fun removeScripts(netName: String) = runAsyncTask { 50 fun removeScripts(netName: String) = runAsyncTask {