diff --git a/src/main/java/com/nutomic/syncthingandroid/gui/MainActivity.java b/src/main/java/com/nutomic/syncthingandroid/gui/MainActivity.java index 37cebc9d..547f4b2a 100644 --- a/src/main/java/com/nutomic/syncthingandroid/gui/MainActivity.java +++ b/src/main/java/com/nutomic/syncthingandroid/gui/MainActivity.java @@ -285,11 +285,6 @@ public class MainActivity extends ActionBarActivity case R.id.settings: startActivity(new Intent(this, SettingsActivity.class)); return true; - case R.id.exit: - // Make sure we unbind first. - finish(); - getApplicationContext().stopService(new Intent(this, SyncthingService.class)); - return true; default: return super.onOptionsItemSelected(item); } diff --git a/src/main/res/menu/main.xml b/src/main/res/menu/main.xml index f8a5700b..028cfe46 100644 --- a/src/main/res/menu/main.xml +++ b/src/main/res/menu/main.xml @@ -29,8 +29,4 @@ android:id="@+id/settings" android:title="@string/settings_title" /> - - diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index fa21062b..6d6843cb 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -176,9 +176,6 @@ Please install a scanner or enter the node ID manually. Generating keys. This may take a while. - - Exit - First Start @@ -241,8 +238,12 @@ If this error persists, try reinstalling the app and restarting your device.\n\n Do you want to change your preferences? + Change Settings + + Exit +