Commit Graph

39046 Commits

Author SHA1 Message Date
Goooler
6fd1fe19c8 Improve Simplified Chinese translations 2022-10-02 04:47:12 +00:00
Crowdin Bot
c5d628a117 New Crowdin translations by Github Action 2022-10-02 04:47:12 +00:00
Suphon T
663e6e6f75 Show empty search text when there is no market (#2990) 2022-10-01 14:46:59 +07:00
Suphon T
43fba270e6 Fix top bar scroll behavior (#2989)
* Switch topBar behavior to exitUntilCollapsed

* Fix top bar not expanding
2022-10-01 13:02:31 +08:00
Yasan
d75e31c021 Custom Notification Dot Counter Color Support (#2977)
* Add `notificationDotTextColor` to `PreferenceManager2`
* Add `notificationDotTextColor` to preferences UI
* Pass counter color to `DotRenderer`
* Convert `LauncherDefault` to `Default`
* Optimize imports
* Rename "Default" to "Managed by Lawnchair"
* Use the correct `ColorDot` on `ColorPreference`
* Show a contrast warning for dot colors
* Show a special icon on `ColorDot` when the color is 0
* Make `ColorDot(Color)` private to avoid accidental usages
* Create `WarningPreference` as a reusable composable for warnings
* Use Rounded icon on `WarningPreference`
* Fix `ColorContrastWarning.kt`'s file name
* Update platform_frameworks_libs_systemui

Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-28 09:03:08 +03:30
SuperDragonXD
088cfe48df Use new Google Lens icon 2022-09-27 20:59:36 +08:00
Goooler
4453d7f58a Check sIsConnected before canceling notification (#2982)
https://stackoverflow.com/questions/45428363/android-getactivenotifications-throws-securityexception
2022-09-27 16:58:56 +08:00
Goooler
e7fe6d4aef Fix crash when clicking Lens icon 2022-09-27 15:13:37 +08:00
Crowdin Bot
24760b1269 New Crowdin translations by Github Action 2022-09-26 05:54:49 +00:00
Goooler
3bf177c1b8 Bump actions/setup-python to v4
https://github.com/actions/setup-python/releases/tag/v4.0.0
https://github.com/actions/setup-python/releases/tag/v4.2.0
2022-09-18 19:17:26 +08:00
Goooler
b87b99cfe7 Use String extensions to check empty 2022-09-18 16:22:11 +08:00
Yasan Ghaffarian
20d2acc26c Improve how icons are reloaded when alwaysReloadIcons is enabled
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-18 11:12:28 +04:30
SuperDragonXD
191fe2c9e1 ci.py: Don't send when commit count is 0 2022-09-18 10:11:35 +08:00
Crowdin Bot
934a3d8b1b New Crowdin translations by Github Action 2022-09-18 01:53:52 +00:00
Goooler
e8dff943a0 Rearrange allprojects block 2022-09-18 02:56:06 +08:00
Goooler
6757e78cbd Configure android extensions in BasePlugin types
Follow up #2903
2022-09-18 02:48:38 +08:00
Goooler
7c948369b9 Bump AGP to 7.3.0 (#2950)
https://developer.android.com/studio/releases/gradle-plugin#7-3-0
2022-09-16 08:21:02 +08:00
Fox2Code
77c918693d grayscale_icon_map.xml: link OnePlus clock icons (#2948) 2022-09-16 06:33:10 +08:00
SuperDragonXD
b56358f28f grayscale_icon_map.xml: also Huwaei's clock 2022-09-15 22:55:08 +08:00
SuperDragonXD
b5c5e7bab7 grayscale_icon_map.xml: link oem clock icons
Link clock icons of AOSP Clock, ColorOS Clock, ans Samsung Clock to clock array file.
2022-09-15 22:47:14 +08:00
Yasan Ghaffarian
4bc2137016 Run crowdin_upload.yml on push 2022-09-14 16:49:36 +04:30
Yasan Ghaffarian
ebc915da65 Run crowdin_download.yml once a week 2022-09-14 16:49:18 +04:30
Yasan Ghaffarian
034dd67e0e Fix Crowdin download & upload schedules 2022-09-14 16:40:42 +04:30
SuperDragonXD
339e7d2c71 Replace Discussion and Question templates with...
GitHub Discussions
2022-09-14 19:49:57 +08:00
Yasan Ghaffarian
189632e864 Separate Crowdin upload & download actions
+ Update Crowdin action to 1.4.13 (from 1.4.12)
2022-09-14 15:08:00 +04:30
Yasan Ghaffarian
c644d321ab Only run Crowdin sync on workflow_dispatch 2022-09-14 15:00:47 +04:30
Yasan Ghaffarian
65728621bc Add "Always Reload Icons" experimental feature
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-14 14:25:27 +04:30
Yasan Ghaffarian
66e213b8a3 Always reload icon packs
Only reloads if there is an active icon pack

Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
2022-09-14 12:12:11 +04:30
Yasan Ghaffarian
13a696ae0f Revert "Automatic icon reload on night mode change (#2930)"
This reverts commit 97d6c852c8.
2022-09-14 12:10:54 +04:30
Crowdin Bot
abc9bfbc2b New Crowdin translations by Github Action 2022-09-13 04:44:26 +00:00
Yasan
8fd839db5c Run crowdin.yml once a week instead of daily 2022-09-13 09:07:55 +04:30
Yasan
c86521d929 Fix auto-merge conditions 2022-09-13 09:04:21 +04:30
Yasan
2d38bcfcdd Add debug step to crowdin_auto_merge.yml 2022-09-13 09:02:53 +04:30
Yasan
8598357d23 Change crowdin_auto_merge.yml trigger to pull_request 2022-09-13 08:37:50 +04:30
Yasan Ghaffarian
15e7577099 Automatically merge Crowdin PRs 2022-09-12 17:36:13 +04:30
Yasan Ghaffarian
2bb4d77d78 Do not upload translations on Crowdin action 2022-09-12 17:21:39 +04:30
Yasan
92499dd460 Allow running build_debug_apk with workflow_call 2022-09-12 11:56:15 +04:30
Yasan Ghaffarian
97d6c852c8 Automatic icon reload on night mode change (#2930)
Co-authored-by: Daria Hamrah Paytakht <info@dariarnd.ir>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-09-12 11:43:52 +04:30
github-actions[bot]
672b66c130 New Crowdin translations by Github Action (#2928)
* New Crowdin translations by Github Action

* Update lawnchair/res/values-zh-rCN/strings.xml

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Goooler <wangzongler@gmail.com>
2022-09-11 23:57:52 +08:00
Yasan
7b9df17287 Create close_low_effort_issues.yml 2022-09-11 19:38:17 +04:30
Yasan
848606d20a Update .gitignore 2022-09-10 09:49:18 +04:30
Crowdin Bot
a03c81abe0 New Crowdin translations by Github Action 2022-09-10 13:06:30 +08:00
Crowdin Bot
245c2ae563 New Crowdin translations by Github Action 2022-09-09 23:14:47 +04:30
SuperDragonXD
69d85a67c2 SwitchPreference: Make switch interactable
Allows the user to toggle `SwitchPreference` by clicking the `Switch` component.
2022-09-09 22:13:49 +08:00
Goooler
ea43f4b6f5 Minify Apk size a bit (#2921)
* Enable R8 fullMode

* No need to keep jetpack libs
https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-main/annotation/annotation/src/main/resources/META-INF/proguard/androidx-annotations.pro

* Add packaging exclude rules
2022-09-09 02:46:07 +08:00
Goooler
504648b654 Add requireSystemService to avoid assertions (#2917)
* Convert RootHelperBackend to Kotlin

* Add requireSystemService to avoid assertions

* Convert OverScrollerCompat to Kotlin

* Revert "Convert RootHelperBackend to Kotlin"

This reverts commit f42d08ad

* Revert "Convert OverScrollerCompat to Kotlin"

This reverts commit d466f8490f.
2022-09-08 14:46:20 +08:00
Yasan
b8c18bc0c0 Run Crowdin action only on the main repository 2022-09-08 11:12:18 +04:30
Goooler
69e241aecf Bump core-ktx to 1.9.0 (#2918)
https://developer.android.com/jetpack/androidx/releases/core#1.9.0
2022-09-08 09:29:00 +08:00
Yasan Ghaffarian
e22eb7fe2f Ignore .vscode/* 2022-09-07 15:34:14 +04:30
Mehdi Afshar
bb801b2553 Custom folder color support 2022-09-07 13:24:47 +04:30