diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt index 8bdd14b..8a464b2 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/DNSListActivity.kt @@ -127,7 +127,7 @@ class DNSListActivity : AppCompatActivity() { override fun onCreateOptionsMenu(menu: Menu): Boolean { // Inflate the menu; this adds items to the action bar if it is present. - menuInflater.inflate(R.menu.save, menu) + menuInflater.inflate(R.menu.save_dns, menu) val item = menu.findItem(R.id.saveItem) as MenuItem item.setActionView(R.layout.menu_save) val saveButton = item diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/PeerListActivity.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/PeerListActivity.kt index 7c2325d..3355426 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/PeerListActivity.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/PeerListActivity.kt @@ -334,7 +334,7 @@ class PeerListActivity : AppCompatActivity() { override fun onCreateOptionsMenu(menu: Menu): Boolean { // Inflate the menu; this adds items to the action bar if it is present. - menuInflater.inflate(R.menu.save, menu) + menuInflater.inflate(R.menu.save_peers, menu) val item = menu.findItem(R.id.saveItem) as MenuItem item.setActionView(R.layout.menu_save) val saveButton = item diff --git a/app/src/main/res/menu/save_dns.xml b/app/src/main/res/menu/save_dns.xml new file mode 100644 index 0000000..7cf52a2 --- /dev/null +++ b/app/src/main/res/menu/save_dns.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/save.xml b/app/src/main/res/menu/save_peers.xml similarity index 100% rename from app/src/main/res/menu/save.xml rename to app/src/main/res/menu/save_peers.xml