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

Used Space Progress issue fixed #857

Merged

Conversation

hardik0899
Copy link
Contributor

Fixes #696

Progress Bar was not showing the space used after downloading the videos from the courses. But now its fixed and I have tested it on 3 different devices. Its working awesome :)

Screenshots for the change:
Screenshot_2020-06-05-18-14-09-25

@boss-contributions-bot
Copy link

Thanks @hardik0899, for opening the pull request! 🙌

One of our mentors will review the pull request soon. ✅

Star ⭐ this project and tweet 🐦 about your contributions.

@hardik0899
Copy link
Contributor Author

@aggarwalpulkit596 Bhayia pls have a look whenever you are free.

@@ -102,6 +99,10 @@ class SettingsActivity : BaseCBActivity() {
it
).readableFileSize()
})
val usedSpace : Double = file?.let { folderSize(it) }!!.toDouble() / 1048576
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you not use !! operator

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok will do this

@hardik0899
Copy link
Contributor Author

@aggarwalpulkit596 done the changes pls review once again the latest commit

@aggarwalpulkit596 aggarwalpulkit596 merged commit 1efeeef into coding-blocks:development Jun 23, 2020
@boss-contributions-bot
Copy link

Congratualtions @hardik0899, your pull request is merged! 🎉

Thanks for your contributions and participating in BOSS 2020. 🙌

You can claim your bounty points here. 💰

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.

Storage space tracker doesn't show the occupied space
2 participants