Commit graph

2255 commits

Author SHA1 Message Date
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
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
Alper Ozturk
4b35088377
Use overlay method for UploadAdapter
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
Alper Ozturk
32b8993331
Add DrawableUtil
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
Alper Ozturk
80cf6f04bd
Use new method for get thumbnail image
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
Alper Ozturk
c7cb4fa7c4
Use overlay method to get file icon
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
Alper Ozturk
e4dd05c6aa
Add folder overlay icons
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
Alper Ozturk
65461a7d87
Use folder key icon for encrypted state
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
Alper Ozturk
2dc0d561fd
Add folder_encrypted icon
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
Alper Ozturk
b351c57d31
Use getFileIcon for thumbnailView
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
0358dce204
Add isAutoUploadFolder function to SyncedFolderProvider
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Alper Ozturk
22e1f7ed45
Add getFileIcon function inside OCFile
Signed-off-by: Alper Ozturk <alperozturk@lions-macbook.local>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
2023-10-06 10:48:26 +02:00
Nextcloud bot
9513ddecaa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 02:46:19 +00:00
Nextcloud bot
ba51488d2a
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 02:45:51 +00:00
Nextcloud bot
3ea2c74331
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 03:00:01 +00:00
Nextcloud bot
67f38b63cc
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 02:59:34 +00:00
Nextcloud bot
90b46dbf6a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 02:46:56 +00:00
Nextcloud bot
762f297d8f
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 02:46:29 +00:00
Nextcloud bot
b282f1c4ba
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 02:44:53 +00:00
Nextcloud bot
d845526576
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 02:44:25 +00:00
Nextcloud bot
0b5c828235
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 02:45:01 +00:00
Nextcloud bot
8ede587f08
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 02:44:33 +00:00
Nextcloud bot
4cc8743547
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 02:51:51 +00:00
Nextcloud bot
96cc159139
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 02:51:23 +00:00
Nextcloud bot
aabcb979a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 02:43:29 +00:00
Nextcloud bot
d0e2c1568a
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 02:43:01 +00:00
Nextcloud bot
5b5402b5e1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 02:45:08 +00:00
Nextcloud bot
8a7be770ba
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 02:44:40 +00:00
Nextcloud bot
d52995e6cc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-28 02:45:26 +00:00
Nextcloud bot
2bbdf5bda3
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-28 02:44:57 +00:00
Nextcloud bot
ee486c424e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-27 02:44:24 +00:00
Nextcloud bot
8912a4fb79
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-27 02:43:56 +00:00
Nextcloud bot
3f8a9523d0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-26 02:46:06 +00:00
Nextcloud bot
9d6c660981
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-26 02:45:39 +00:00
Andy Scherzinger
4fc90f3dab
Merge pull request #11919 from PhilLab/move-to-next-image-after-deletion
When deleting image in preview activity, move to the next image
2023-09-25 16:42:36 +02:00
Andy Scherzinger
078296fd06
Merge pull request #11986 from nextcloud/issue-#11984
Changed Delete in Deleted Files to Delete Permanently
2023-09-25 16:39:29 +02:00
Nextcloud bot
fdf7b33d56
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-25 02:45:12 +00:00
Nextcloud bot
80f690ebc9
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-25 02:44:45 +00:00
Ezhil Shanmugham
e81c72611b Changed Delete in Deleted Files to Delete Permanently
Signed-off-by: Ezhil Shanmugham <ezhil930@gmail.com>
2023-09-24 16:02:59 +02:00
Nextcloud bot
719c3ea4fa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-24 02:46:10 +00:00
Nextcloud bot
ae2101eba2
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-24 02:45:41 +00:00
Nextcloud bot
ea721aa307
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 02:44:23 +00:00
Nextcloud bot
2b41251056
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 02:43:51 +00:00
Nextcloud bot
da73d866bf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 02:50:22 +00:00
Nextcloud bot
56e07ee6e4
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 02:49:53 +00:00
Nextcloud bot
b1c948f496
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-21 02:49:34 +00:00
Nextcloud bot
8d107c72c2
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-21 02:49:06 +00:00
Nextcloud bot
1fd5e4864e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 02:46:06 +00:00
Nextcloud bot
e244142f9c
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 02:45:37 +00:00
Nextcloud bot
432305e275
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 02:40:43 +00:00
Nextcloud bot
8dd434c1b8
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 02:40:14 +00:00
Nextcloud bot
d4e46fe775
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 02:42:03 +00:00
Nextcloud bot
4f778b7176
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 02:41:35 +00:00
Nextcloud bot
f810a2c5bb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-17 02:44:45 +00:00
Nextcloud bot
e38d77aead
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-17 02:44:17 +00:00
Nextcloud bot
a5560e05a3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-16 02:42:55 +00:00
Nextcloud bot
c6d6a37766
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-16 02:42:27 +00:00
Andy Scherzinger
3397cb7b92
Merge pull request #11954 from nextcloud/outdatedWarning
show outdated warning also on very old servers
2023-09-16 00:17:10 +02:00
Andy Scherzinger
2a92780778
Merge pull request #11942 from nextcloud/fix/app-switcher-toggle
Fix default state of 'Show app switcher' toggle
2023-09-16 00:11:46 +02:00
Nextcloud bot
22b10d4e7d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 02:42:50 +00:00
Nextcloud bot
13d402b3b5
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-15 02:42:22 +00:00
Nextcloud bot
5072ffdbca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 02:45:14 +00:00
Nextcloud bot
5b6b172f07
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-14 02:44:45 +00:00
Nextcloud bot
c68b07dc87
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-13 02:40:40 +00:00
Nextcloud bot
79d402fe8a
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-13 02:40:12 +00:00
Nextcloud bot
56df8f0286
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-12 02:44:01 +00:00
Nextcloud bot
7ba4ac512d
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-12 02:43:33 +00:00
Nextcloud bot
c8814a8c38
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-11 02:42:23 +00:00
Nextcloud bot
59581a7f28
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-11 02:41:55 +00:00
Nextcloud bot
4f22fb74bb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-10 02:48:11 +00:00