Skip to content
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

Merged
merged 4 commits into from
Jan 3, 2020
Merged

fix: app launch issue #601

merged 4 commits into from
Jan 3, 2020

Conversation

refactor-droidyy
Copy link
Member

Fixes #598

Screenshots for the change:

ezgif com-video-to-gif (2)

@auto-label auto-label bot added the fix label Jan 2, 2020
@refactor-droidyy
Copy link
Member Author

@adityastic please review.

@adityastic
Copy link
Collaborator

@refactor-droidyy give me 2 hrs. I'm on my way home, Will do in some time

@refactor-droidyy
Copy link
Member Author

@adityastic no problem 👍

Copy link
Collaborator

@adityastic adityastic left a 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

@refactor-droidyy
Copy link
Member Author

@adityastic Done.

Copy link
Collaborator

@adityastic adityastic left a 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) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Member Author

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.

Copy link
Member

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

@iamareebjamal iamareebjamal merged commit 0ae3922 into fossasia:development Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blank screen on app launch
4 participants