diff options
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r-- | app/src/main/java/com/wireguard/android/AddActivity.java (renamed from app/src/main/java/com/wireguard/android/ConfigAddActivity.java) | 4 | ||||
-rw-r--r-- | app/src/main/java/com/wireguard/android/ConfigActivity.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/com/wireguard/android/ConfigAddActivity.java b/app/src/main/java/com/wireguard/android/AddActivity.java index f299a67c..7e31c876 100644 --- a/app/src/main/java/com/wireguard/android/ConfigAddActivity.java +++ b/app/src/main/java/com/wireguard/android/AddActivity.java @@ -10,11 +10,11 @@ import com.wireguard.config.Config; * Standalone activity for creating configurations. */ -public class ConfigAddActivity extends BaseConfigActivity { +public class AddActivity extends BaseConfigActivity { @Override public void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setContentView(R.layout.config_add_activity); + setContentView(R.layout.add_activity); } @Override diff --git a/app/src/main/java/com/wireguard/android/ConfigActivity.java b/app/src/main/java/com/wireguard/android/ConfigActivity.java index 628aaeb6..e81b6c9c 100644 --- a/app/src/main/java/com/wireguard/android/ConfigActivity.java +++ b/app/src/main/java/com/wireguard/android/ConfigActivity.java @@ -169,7 +169,7 @@ public class ConfigActivity extends BaseConfigActivity { onBackPressed(); return true; case R.id.menu_action_add: - startActivity(new Intent(this, ConfigAddActivity.class)); + startActivity(new Intent(this, AddActivity.class)); return true; case R.id.menu_action_edit: // Try to make the editing fragment visible. |