Open account importer when no account has been imported yet and one clicks on the avatar

This commit is contained in:
Stefan Niedermann 2020-06-05 13:02:26 +02:00
parent 19805f31a5
commit 7050cbf03c

View file

@ -250,6 +250,8 @@ public class NotesListViewActivity extends LockedActivity implements NoteClickLi
updateToolbars(false); updateToolbars(false);
} }
}); });
activityBinding.launchAccountSwitcher.setOnClickListener((v) -> askForNewAccount(this));
activityBinding.menuButton.setOnClickListener((v) -> binding.drawerLayout.openDrawer(GravityCompat.START)); activityBinding.menuButton.setOnClickListener((v) -> binding.drawerLayout.openDrawer(GravityCompat.START));
final LinearLayout searchEditFrame = activityBinding.searchView.findViewById(R.id final LinearLayout searchEditFrame = activityBinding.searchView.findViewById(R.id