Commit Graph

234 Commits

Author SHA1 Message Date
Rahul Patel
bbedb30d46 Add favourites apps [1/2]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 11:22:16 +07:00
Aayush Gupta
0fdef34baf DownloadFragment: Drop non-required SwipeRefreshLayout
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-17 12:06:22 +05:30
Aayush Gupta
7f32b9078e LinearProgressIndicator: Fixes for new M3 design
* 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>
2024-06-13 22:00:50 +05:30
Aayush Gupta
7c0e258d58 fixup! Improvements to download progress UI
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-13 22:00:13 +05:30
Aayush Gupta
1bc396598e view_toolbar_search: Add button to clear searchView's text
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 16:33:04 +05:30
Aayush Gupta
38f8ccacee SearchSuggestionView: Adjust padding and text size for search suggestions
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 15:33:48 +05:30
Aayush Gupta
0232c4117c view_toolbar_search: Drop background in favor of divider
Looks much better and cleaner

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-12 14:57:23 +05:30
Aayush Gupta
df45048757 SplashFragment: Reword session_login string to request login
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-10 14:52:51 +05:30
Aayush Gupta
6bf75bb68a AccountFragment: Throw users on splashFragment on logout
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>
2024-06-01 13:42:40 +05:30
Aayush Gupta
cf4e0ee091 LinkView: Center icon vertically
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 11:27:34 +05:30
Aayush Gupta
89a060e3cd SplashFragment: Load launcher icon directly
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 10:54:03 +05:30
Aayush Gupta
75a5f51967 SplashFragment: Add menu button to about fragment
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>
2024-06-01 10:45:58 +05:30
Aayush Gupta
446b8213ee DispenserFragment: Show info if no dispensers are available
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 10:28:20 +05:30
Aayush Gupta
453f6f24c2 Initial support for third-party dispensers
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-06-01 09:46:20 +05:30
Aayush Gupta
59b7c17c5b AppLinksFragment: Drop amazon appstore links support
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-21 18:36:21 +05:30
Aayush Gupta
196f9d00c5 InstallerFragment: Relocate to settings instead of onboarding
* This makes onboarding minimal and only required screens are shown
* SessionInstaller is the recommended choice, user who needs a different can configure in settings
* Instead of showing minimal list, show installer fragment that contains more information
* Also show all installers like before

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-05-08 15:44:15 +05:30
Aayush Gupta
0de1d63b5d fragment_app_links: Make app links layout scrollable
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-22 10:28:57 +05:30
Aayush Gupta
5f714e624b MainActivity: Use NavigationRail on large screen devices
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-16 10:45:14 +05:30
Aayush Gupta
c3963519e0 MainActivity: Move navigation drawer items into dialogfragment
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-16 10:37:38 +05:30
Aayush Gupta
0543b8ff9c ManualDownloadSheet: Localize manual download hint
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-04-04 10:33:09 +05:30
Aayush Gupta
c3bae480c4 ViewModel: Switch to Hilt for accessing application context
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
d4f4b4bca5 OnboardingFragment: Drop theme and accent fragments
Still available in the settings

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-14 11:46:44 +05:30
Aayush Gupta
28ba1ac17c SplashFragment: Fixes for AuthState.Failed
* Make menu invisible instead of clearing it
* Apply appropriate margin to the status textView

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-05 14:52:28 +05:30
Aayush Gupta
29ce733611 UpdatesFragment: Move Update All button to FAB
* Also link BlacklistFragment in in it's place as requested by users

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-04 14:50:15 +05:30
Aayush Gupta
f939e20e35 Refresh icons with latest material icons
* Try to keep bottom navigation bar icon as filled

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-02-28 11:38:57 +05:30
Aayush Gupta
804d37a579 MainActivity: Move search FAB to fragment_apps_games layout
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-02-27 22:46:08 +05:30
Aayush Gupta
42c182bdb7 Revert "AppUpdateView: Show icons on incompatible updates buttons"
This reverts commit d4552007a7.
2024-02-15 17:27:21 +05:30
Aayush Gupta
d4552007a7 AppUpdateView: Show icons on incompatible updates buttons
- Slashed circle: Disabled
- Shield with a cross: Fails certificate verification

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-02-12 15:03:42 +05:30
Aayush Gupta
8c7377efd6 AppDetailsFragment: Link exodus analysis submission page
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-01-08 21:01:25 +05:30
Aayush Gupta
f851a5ad3e Improvements to download progress UI
Switch to LinearProgressIndicator where possible and show an indeterminate
progress bar while download progress is below 1%

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-31 15:54:05 +05:30
Aayush Gupta
e400dac915 Material3: Switch to M3 button everywhere
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-30 13:12:46 +05:30
Aayush Gupta
2b8b1af8d1 view: Drop unused custom views
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 19:19:53 +05:30
Aayush Gupta
4d4429fd7a DownloadWorker: Verify downloaded files using SHA256 or SHA1
This lets us avoid downloading same files again

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-29 00:41:13 +05:30
Aayush Gupta
a796c4c381 SelfUpdateWorker: Move self-updates logic into dedicated worker
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-27 21:15:00 +05:30
Aayush Gupta
bd55b157e6 DownloadFragment: Refactor to work with new downloads logic
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-14 18:26:19 +05:30
Aayush Gupta
acd2e7a586 MainActivity: Warn users if battery optimizations are enabled
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-12-14 18:26:18 +05:30
Aayush Gupta
2f7c055cdb LocaleView: Show localized display language
display language seems to be more or less always empty/blank. Let's just
use localized display language instead. This will ensure both lines don't show
same values unless same locale is applied.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-11-27 18:19:04 +05:30
Rahul Patel
13f1459827 Restore download manager icon to toolbar 2023-10-17 05:45:50 +05:30
Rahul Patel
4770aa3540 Updates: track actual download progress 2023-10-14 07:35:59 +05:30
Rahul Patel
7503335b3b Make distinct progress indicator during app updates 2023-10-14 07:07:23 +05:30
Rahul Patel
9b7029bded Fix adding reviews via personal accounts 2023-10-14 03:24:27 +05:30
Rahul Patel
72241bd444 Improve Apps & Games page 2023-10-14 01:14:49 +05:30
Rahul Patel
e296fcbd7b Get rid of TOS 2023-10-12 21:03:14 +05:30
Aayush Gupta
1c251416fa DetailsReviewFragment: Require atleast one chip to be selected
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-10-02 22:34:22 +05:30
Aayush Gupta
76bd9add23 AppUpdateView: Switch to MaterialButton for expanding layouts
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-10-02 11:09:27 +05:30
Aayush Gupta
5e9e1878a2 fixup! [LeakCanary]: OnboardingFragment: Use viewbinding as official way
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-20 19:31:26 +05:30
Aayush Gupta
3a977d78c9 view_download: Hard-code file path height
Fixes: https://gitlab.com/AuroraOSS/AuroraStore/-/issues/946
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-18 17:24:23 +05:30
Aayush Gupta
dbcc05f675 AppLinksFragment: Support opening amazon appstore links
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-18 16:40:18 +05:30
Aayush Gupta
29dc3692d2 AppLinksFragment: Bring back market.android.com support
Apparently tons of applications still use the outdated way to open the store

Ref:
- https://developer.android.com/distribute/marketing-tools/linking-to-google-play
- https://www.androidauthority.com/android-market-google-play-different-787082/

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-18 16:40:05 +05:30
Aayush Gupta
e92c26dd56 SwitchPreference: Better thumb tint on dark themes
Track color is taken from accent color which causes thumb tint to
look poor on dark themes. Simply use white on both themes.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2023-09-04 19:11:45 +05:30