-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: app launch issue #601
Conversation
@adityastic please review. |
@refactor-droidyy give me 2 hrs. I'm on my way home, Will do in some time |
@adityastic no problem 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might not show in the drawer, just set the nav_view.setCheckedItem() to create badges
@adityastic Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamareebjamal Peer review done
setupDrawerAndToolbar() | ||
|
||
prepareForScan() | ||
|
||
handleIfReceiveIntent() | ||
} | ||
|
||
private fun defaultFragment() { | ||
if (supportFragmentManager.findFragmentById(R.id.frag_container) == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@iamareebjamal initially there is no fragment so I have just set a default fragment if no fragment is there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change method name to setDefaultFragment
Fixes #598
Screenshots for the change: