Commit graph

21215 commits

Author SHA1 Message Date
alperozturk
887c197287
Fix SplashScreen title tests
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-11 10:43:43 +02:00
alperozturk
ff6919124a
fix nullability of getDarkThemeMode function
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-10 16:37:53 +02:00
alperozturk
95453d8612
Remove FIXME comments
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-10 14:54:15 +02:00
alperozturk
1e4e417077
Fix autoUploadFolder
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:34 +02:00
alperozturk
ffdf859bac
Fix spotlessKotlinCheck
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
a24609f534
Fix code analysis
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
3ab49e4acc
Fix spotlessKotlinCheck
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
tobiasKaminsky
5b7bb2f5dc
test analysis.yml not running on garm
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
a3014ad1d3
Fix Static code analysis warnings
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
c94a190388
Fix spotlessKotlinCheck
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
5be983b94f
Fix imports for gPlay flavour
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:33 +02:00
Alper Ozturk
3b74655c12
Add licence header for new icons
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
dbbe6de800
Add licence header for new files
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
bbeccfb4f8
Change overlaying mechanism
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
7458ba3d60
Fix detekt findings
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
b38c54a4c9
Update screenshots
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
68f3c6e273
Update usage of addDrawableAsOverlay function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
a0083b9afb
Change overlay icon size according to density
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
6ae12b0e49
Add extensions package under utils
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:32 +02:00
Alper Ozturk
c618b20511
Reset overlay icon size
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
59cacab150
Use isDarkModeEnabled function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
9e4bac2aad
Add isDarkModeEnabled function
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
b0c584b9f2
Support overlay drawable icon for Dark mode
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
be543f66d4
Change top margin to 3 due to ss tests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
88de0a2bd2
Change top margin to 4
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
afdd18a415
Change overlay icon color to white
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
095c19bdb7
Add different folder types
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:31 +02:00
Alper Ozturk
8b9361f310
Use getDefaultFolderIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
8105a02766
Add default folder icon function added due to apply color primary
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
15f5856646
Move getFileIcon into the MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
6ccefc4e44
Remove unused icons from project directory
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
c570c4f2a5
Add viewThemeUtils for different primary colors
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
651908af93
Todo comment added
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
48bdbac2a3
Replace null check with assert due to ContextCompat.getDrawable nullability
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:30 +02:00
Alper Ozturk
6fc9970329
Rename getFileOverlayIcon to getFileOverlayIconId
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
6ed626d8b3
Remove Mockito from OCFileIconTests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
7aa837fb8c
Add tests for each different folder icon type
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
bfd80793bc
Add OCFileIconTests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
f745db1188
Extract getFileOverlayIcon function from getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
23cd9f91c7
Rename OCFile function name to getFileIcon
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
29e934fdce
Add DrawableUtilTests for testing overlaying icons
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
1f391397c1
Mark failed tests
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:29 +02:00
Alper Ozturk
ca09000327
Use overlay method for GroupfolderListAdapter
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
9870a80e87
Remove duplicated default folder icon func from MimeTypeUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
3aa9c8aa32
Remove ViewThemeUtils usage to provide correct folder color
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
44e38c671f
Use overlay method for EditorWebView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
aee3ffd7da
Change drawable to layer drawable
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
16db8c01b6
Use overlay method for ShareActivity
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
929b704425
Use overlay method for ShortcutUtil
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:28 +02:00
Alper Ozturk
bbea0e00d0
Apply color changes for folder
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:27 +02:00