Bug Fixs & Enhancement of Achievement Screen (#5666)

* Rename AchievementFragment from `.java` to `.kt`

* Migrated AchievementFragment to kotlin

* Revamped Achievement Screen

* fixed AchievementFragment Unit Test

* fixed Level on MoreBottomSheetFragment

* Implemented Badge and Minor Code Refactor

* Fixed the badge issue & made the badge clickable

* Removed Redundant XML Code & Converted badges to green color and added values inside it

* Fixed : showSnackBarWithRetry Test

* Fixed : Theme issues on Light Mode

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
This commit is contained in:
Neel Doshi 2024-12-06 19:45:47 +05:30 committed by GitHub
parent ae52267a27
commit a8387f01c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 942 additions and 1130 deletions

View file

@ -79,7 +79,7 @@ class AchievementsFragmentUnitTests {
fragmentTransaction.commitNowAllowingStateLoss()
layoutInflater = LayoutInflater.from(activity)
view = fragment.onCreateView(layoutInflater, activity.findViewById(R.id.container), null)!!
view = fragment.onCreateView(layoutInflater, activity.findViewById(R.id.container), null)
achievements = Achievements(0, 0, 0, 0, 0, 0, 0)
}