Commit Graph

148 Commits

Author SHA1 Message Date
Rahul Patel
210374ae3e Revert: TonalButton <> OutlinedButton 2024-07-29 01:11:11 +05:30
Rahul Patel
c406e56d6a Improve updates page UI + fix empty updates on refresh 2024-07-29 01:11:10 +05:30
Rahul Patel
8c7bf1b9bc Simplify layouts - [2/2] 2024-07-29 01:11:10 +05:30
Rahul Patel
496486fb37 Simplify layouts - [1/2] 2024-07-29 01:11:10 +05:30
Aayush Gupta
6a7d4f6e3e UpdatesFragment: Restore update all button as action button
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-18 13:00:04 +07:00
Aayush Gupta
e9843a6b45 MainActivity: Add view binding type hint for navigation bar
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
8b341c088c Initial support for caching updates
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Aayush Gupta
04e2e69c54 {SplashFragment|NetworkPreference}: Updates to AuthData building
* Always generate GSF ID on device regardless of login type
* Switch to new method for building AuthData

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-17 13:45:30 +07:00
Rahul Patel
c426c3b7a7 Disable AppPeekSheet, enable only when ready 2024-07-17 13:45:30 +07:00
Rahul Patel
388e2d9a35 Improve fliters & chip styles
-- Removed filter apply & close, filter is saved on dismiss
2024-07-17 13:45:30 +07:00
Aayush Gupta
1c701ec7f0 NetworkPreference: Move out and simply proxy logic
No need to check connectivity as soon as URL is set as SplashFragment will
only let you login when a valid connection is available.

Use a modern dialog and EditText to do set the URL with minimal verification.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-14 19:24:33 +07:00
Rahul Patel
ad304820c1 Improve AppUpdate pregressbar UI
- All thanks to @Jacob640 (https://t.me/Jacob640)
2024-07-12 02:48:25 +05:30
Rahul Patel
7110a4a77b Improve viewbinding - [3/3] 2024-07-11 11:44:25 +07:00
Aayush Gupta
81d3b15ce2 Add favourites apps [2/2]
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-09 11:22:16 +07:00
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