- Merge validation function in it as well instead of using it as an extension
- Use dedicated preference to check if we are anonymous or not instead of authData
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Some users have complained that Aurora Store gets stuck in a loop of
updating again and again. Let people update it manually from the Updates tab.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
* Since 1.12.0, LinearProgressIndicator uses new M3 design that doesn't plays well with install and ratings for us
* Switch both back to old style using new Widget.Material3.LinearProgressIndicator.Legacy style
* Additionally drop trackCornerRadius and switch to custom background with clipToOutline for download as the class
now has a bug that messes with style
Keep downloads to follow new M3 design
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Filters should persist for a single search only to ensure users can view all available
apps when starting a new search
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Cleaner as well as avoid scenarios where download object gets overwritten by next
enqueued install resulting in wrong information
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
While default dispenser is not added for existing installs on App Gallery builds,
existing installs still had default dispenser preseved which is not an intended behavior.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
* Migrate existing users to default version code if they have -1 set
* Also add issue IDs infront of migrations if available
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
We have multiple checks implemented at this point in splashFragment to ensure
proper validation and navigation. If a user logs out and hits back button, he still
gets to browse Aurora Store which is an unintended behaviour.
Instead of handling same logic twice everywhere, make AccountFragment minimal and only
handle logging out here.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Instead of showing version below login buttons (that for some reason has never been shown),
link about fragment in the menu button which provides more information.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This ensures that users aren't shown Aurora Services as a valid installer
in case it is disabled by user or system.
* Also hardcode the required version to be 9 or above as it is the case right now.
Test: adb shell pm disable com.aurora.services
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>