Commit Graph

2711 Commits

Author SHA1 Message Date
Aayush Gupta
dcddfc74bd AppDetailsFragment: Better check for running downloads on setup
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-22 14:07:56 +05:30
Aayush Gupta
42a38ef741 DownloadWorker: Also consider speed when updating progress
This should fix the issue where progress gets stuck because download speed
gets really low but UI still mentions old speed and time remaining

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-22 13:51:44 +05:30
Aayush Gupta
1edc0b3f53 AppDetailsFragment: Access DetailsClusterViewModel using viewModels method
* Leftover of the great migration

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 19:17:08 +05:30
Aayush Gupta
795d0dddb7 BaseClusterViewModel: Use original cluster ID to append apps
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:56:14 +05:30
Aayush Gupta
b187096869 InstalledAppsFragment: Move event handling to fragment
* Just fetch the list again, its not that expensive

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
0b07c3cecb [LeakCanary] Fragment: Explicity set viewpager2 adapter to null
* Also use viewLifecycleOwner to get lifecycle

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
3a27fa719b ui: sheets: Use BottomSheetDialogFragment directly
We don't need base class anymore. Also use view binding the recommended
way for fragments.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +05:30
Aayush Gupta
5cf7fa6b3c Fragment: Multiple improvements to fragments
* Use viewModels method to get ViewModel instances
* Use view binding as recommended for fragments
* Mark possible variables as private and val

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-20 17:24:04 +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
13a88afa09 AppUtil: Move installed and updatable app logic to separate class
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-19 18:55:08 +05:30
Aayush Gupta
e6e00fd844 strings: Update onboarding permission description for storage
We now only need storage manager for downloading OBB files

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-19 11:13:26 +05:30
Aayush Gupta
d030a7ac2e Respect battery optimization setting when auto-updating
* Don't enable auto-install for updates if battery optimization permission
  is not granted during onboarding.
* Drop showing warning in toolbar, show it instead if they want auto-install
* Don't check for the same during downloads. Failing is better instead.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-18 22:01:38 +05:30
Aayush Gupta
c72b860b4d Supress deprecation warning for compat methods
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-18 15:32:54 +05:30
Aayush Gupta
e126848880 Bump androidx.browser to 1.8.0
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-18 13:40:34 +05:30
Aayush Gupta
b1961b3763 Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!299
2024-03-18 07:53:05 +00:00
Fjuro
93c55b9d42 Translated using Weblate (Czech)
Currently translated at 100.0% (381 of 381 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/cs/
2024-03-16 22:03:48 +01:00
XiaoPanPanKevinPan
f491d708b1 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.7% (380 of 381 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hant/
2024-03-16 22:03:47 +01:00
Aayush Gupta
61e148f58b model: Drop unused model classes
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-14 11:59:26 +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
dd5db578ee Merge branch 'weblate-aurora-store-aurorastore-translations' into 'master'
Translations update from Hosted Weblate

See merge request AuroraOSS/AuroraStore!298
2024-03-14 04:27:46 +00:00
Daniel Popov
5753ee6514 Translated using Weblate (Hungarian)
Currently translated at 10.0% (2 of 20 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/hu/
2024-03-13 12:01:51 +01:00
J E
754cb4b60b Translated using Weblate (Hebrew)
Currently translated at 96.0% (369 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/he/
2024-03-13 12:01:50 +01:00
Daniel Popov
da3a998b6a Translated using Weblate (Hungarian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hu/
2024-03-13 12:01:49 +01:00
Besnik Bleta
a8bcfc4c6a Translated using Weblate (Albanian)
Currently translated at 99.4% (382 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sq/
2024-03-12 10:02:29 +01:00
Daniel Popov
38004e9069 Translated using Weblate (Hungarian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hu/
2024-03-12 10:02:27 +01:00
SeonGn J
ba872ae711 Translated using Weblate (Korean)
Currently translated at 95.0% (19 of 20 strings)

Translation: Aurora Store/Fastlane
Translate-URL: https://hosted.weblate.org/projects/aurora-store/fastlane/ko/
2024-03-11 09:24:22 +01:00
SeonGn J
b47a9629d1 Translated using Weblate (Korean)
Currently translated at 91.6% (352 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ko/
2024-03-11 09:24:22 +01:00
Daniel Popov
56a4c316ca Translated using Weblate (Hungarian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hu/
2024-03-11 09:24:21 +01:00
SeonGn J
6bc714dbe8 Translated using Weblate (Korean)
Currently translated at 65.3% (251 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ko/
2024-03-11 04:01:55 +01:00
ngocanhtve
90d129ee2d Translated using Weblate (Vietnamese)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/vi/
2024-03-11 04:01:54 +01:00
Sergio Marques
9a4e1d8f8f Translated using Weblate (Portuguese)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt/
2024-03-11 04:01:53 +01:00
ShareASmile
ac7d9116fc Translated using Weblate (Punjabi)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pa/
2024-03-11 04:01:52 +01:00
Ihor Hordiichuk
ff8abab66e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/uk/
2024-03-08 22:01:58 +01:00
Λευτέρης Τ
f93cb5e168 Translated using Weblate (Greek)
Currently translated at 85.1% (327 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/el/
2024-03-08 22:01:57 +01:00
gallegonovato
89fdf1f19d Translated using Weblate (Spanish)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/es/
2024-03-08 22:01:55 +01:00
J. Lavoie
4ea37a156c Translated using Weblate (Finnish)
Currently translated at 93.4% (359 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fi/
2024-03-07 15:02:00 +01:00
J. Lavoie
cc69954ab6 Translated using Weblate (Italian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/it/
2024-03-07 15:01:59 +01:00
Colorful Rhino
031e1b04a6 Translated using Weblate (German)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/de/
2024-03-07 15:01:58 +01:00
J. Lavoie
55e293b558 Translated using Weblate (French)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/fr/
2024-03-07 15:01:58 +01:00
Oğuz Ersen
8ebbe1e288 Translated using Weblate (Turkish)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/tr/
2024-03-07 15:01:57 +01:00
NEXI
2b3fc11f0d Translated using Weblate (Serbian)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/sr/
2024-03-07 15:01:57 +01:00
大王叫我来巡山
bc1eb5d745 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/zh_Hans/
2024-03-07 15:01:56 +01:00
Mirosław Żylewicz
114f639d7e Translated using Weblate (Polish)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pl/
2024-03-07 15:01:55 +01:00
joaooliva
264413450c Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/pt_BR/
2024-03-07 15:01:54 +01:00
Rex_sa
b35f636ffb Translated using Weblate (Arabic)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/ar/
2024-03-07 15:01:52 +01:00
Scrambled777
660646fa47 Translated using Weblate (Hindi)
Currently translated at 100.0% (384 of 384 strings)

Translation: Aurora Store/Android
Translate-URL: https://hosted.weblate.org/projects/aurora-store/aurorastore-translations/hi/
2024-03-07 15:01:51 +01:00
Aayush Gupta
9b9cfd8de2 Implement Material3 based EditTextPreference
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 18:38:45 +05:30
Aayush Gupta
8f09c7d6ed NetworkPreference: Move proxy validation logic into viewModel
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 17:19:59 +05:30
Aayush Gupta
2a41baf69d DownloadWorker: Download files using proxy when exists
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 14:37:19 +05:30
Aayush Gupta
717cb29a04 Bump to latest stable AGP and Hilt version
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-03-07 14:37:19 +05:30