"Log out" is a better user hint than "Clear password"

This commit is contained in:
str4d
2014-09-18 22:27:42 +00:00
parent 30de39f28f
commit 9a66763b63
3 changed files with 5 additions and 5 deletions

View File

@@ -235,7 +235,7 @@ public class EmailListFragment extends ListFragment implements
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.inflate(R.menu.email_list, menu);
mLogIn = menu.findItem(R.id.action_log_in);
mClearPassword = menu.findItem(R.id.action_clear_password);
mClearPassword = menu.findItem(R.id.action_log_out);
mNewEmail = menu.findItem(R.id.action_new_email);
}
@@ -265,7 +265,7 @@ public class EmailListFragment extends ListFragment implements
});
return true;
case R.id.action_clear_password:
case R.id.action_log_out:
BoteHelper.clearPassword();
destroyList();
getActivity().supportInvalidateOptionsMenu();

View File

@@ -11,10 +11,10 @@
i2pandroid:showAsAction="always"/>
<item
android:id="@+id/action_clear_password"
android:id="@+id/action_log_out"
android:icon="@drawable/ic_device_access_not_secure"
android:orderInCategory="2"
android:title="@string/clear_password"
android:title="@string/log_out"
android:visible="false"
i2pandroid:showAsAction="always"/>

View File

@@ -35,7 +35,7 @@
<string name="setup_finished_3">While Bote is offline, you can read emails that have already been downloaded. You can also write emails and put them in the Outbox; they will be sent the next time Bote is online.</string>
<string name="go_to_inbox">Go to inbox</string>
<string name="log_in">Log in</string>
<string name="clear_password">Clear password</string>
<string name="log_out">Log out</string>
<string name="touch_lock_to_log_in">Touch the lock icon to log in.</string>
<string name="action_new_email">New email</string>
<string name="action_send_email">Send email</string>