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

Add empty view UI for no Files/Folders #6

Merged
merged 3 commits into from
May 4, 2023
Merged

Conversation

nelsonfertica
Copy link
Contributor

Add empty view UI if there are no files/folders, initial code to begin with auth integration(Non GMS)

emptyView.mov

@Anwera64
Copy link
Contributor

Anwera64 commented Apr 26, 2023

Let us know when your CI is fixed to review this PR

Copy link
Contributor

@Anwera64 Anwera64 left a comment

Choose a reason for hiding this comment

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

lgtm

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(ActivitySplashBinding.inflate(layoutInflater).root)
getToken()
Copy link
Contributor

Choose a reason for hiding this comment

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

you should actually check for the user. If there's a User then there's a token

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@nelsonfertica nelsonfertica merged commit 3ec47f0 into main May 4, 2023
1 of 2 checks passed
@nelsonfertica nelsonfertica deleted the feature/empty_view branch May 4, 2023 17:59
HectorNarvaez pushed a commit that referenced this pull request May 16, 2023
* Add empty view if there are no files/folders, initial code to begin with auth integration(Non GMS)

* Check directly for the user(therefore there's a token), remove extra code

* Change method name from 'getToken' to 'checkUserThenNavigate'

---------

Co-authored-by: Nelson Ivan Fernandez Suarez <nelson.fernandez@encora.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants