We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d0edac + 0520b29 commit 7a2e55dCopy full SHA for 7a2e55d
Simplenote/src/main/java/com/automattic/simplenote/NotesActivity.java
@@ -222,6 +222,14 @@ protected void onResume() {
222
mTagsBucket.addListener(mTagsMenuUpdater);
223
224
updateNavigationDrawerItems();
225
+
226
+ // if the user is not authenticated revert to default drawer selection
227
+ Simplenote currentApp = (Simplenote)getApplication();
228
+ if (currentApp.getSimperium().getUser().getStatus() == User.Status.NOT_AUTHORIZED) {
229
+ mSelectedTag = null;
230
+ mDrawerList.setSelection(mTagsAdapter.DEFAULT_ITEM_POSITION);
231
+ }
232
233
setSelectedTagActive();
234
235
if (mCurrentNote != null && mShouldSelectNewNote) {
0 commit comments