summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/android/ProfileDetailActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com/wireguard/android/ProfileDetailActivity.java')
-rw-r--r--app/src/main/java/com/wireguard/android/ProfileDetailActivity.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/ProfileDetailActivity.java b/app/src/main/java/com/wireguard/android/ProfileDetailActivity.java
index 446b4413..5f537935 100644
--- a/app/src/main/java/com/wireguard/android/ProfileDetailActivity.java
+++ b/app/src/main/java/com/wireguard/android/ProfileDetailActivity.java
@@ -1,6 +1,7 @@
package com.wireguard.android;
import android.app.Fragment;
+import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
@@ -20,7 +21,9 @@ public class ProfileDetailActivity extends ProfileActivity {
@Override
public void onMenuEdit(MenuItem item) {
-
+ final Intent intent = new Intent(this, ProfileEditActivity.class);
+ intent.putExtra(KEY_PROFILE_NAME, getCurrentProfile());
+ startActivity(intent);
}
@Override