Commit graph

5198 commits

Author SHA1 Message Date
Tibor Kaputa
734ee5c6d8
Merge pull request #2473 from KryptKode/fix/delete_position_in_view_pager
fix: position returning to 0
2022-05-20 11:34:02 +02:00
darthpaul
ec6e532c52 fix: position returning to 0
- call onPageSelected(0) if the media.size == 1
2022-05-20 00:02:33 +01:00
Artem
1909e03dd7
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/uk/
2022-05-16 21:29:59 +02:00
teemue
2892d8b7b0
Translated using Weblate (Finnish)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/fi/
2022-05-16 21:29:59 +02:00
Tibor Kaputa
bbb806a5e6
Merge pull request #2469 from KryptKode/fix/delete_position_in_view_pager
fix: position returning to 0
2022-05-16 21:29:55 +02:00
darthpaul
dad1a6e817 fix: position returning to 0
- for calling  refreshUI(media, true) would refresh the view pager position, cause mPos to be set back to 0,
so we retain the original behaviour and call refreshUI(media, false)
- when items have been removed up until the last item in the adapter, the ViewPager's OnPageChangeListener.onPageSelected does not get called for the first item
so mPos is never set to zero and deletion fails.
- we add a call in OnPageChangeListener.onPageScrolled to call onPageSelected(0), when the position == 0 to fix this.
2022-05-16 18:44:23 +01:00
tibbi
9addf4b235 adding some widget UI related improvements 2022-05-14 22:30:06 +02:00
tibbi
290a84f699 accept Media access in foss variant too, do not require All files 2022-05-14 20:03:23 +02:00
tibbi
7ef3ed13af hide google relations in foss variant, hide rating in prepaid 2022-05-14 19:18:03 +02:00
tibbi
4936eecb17 require the All Files access in foss and prepaid app variants 2022-05-14 15:15:43 +02:00
Tibor Kaputa
0f4dd59678
Update strings.xml 2022-05-14 14:01:06 +02:00
hjklkjlkjlk@abv.bg
f8a30e36d7
Translated using Weblate (Bulgarian)
Currently translated at 92.3% (314 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/bg/
2022-05-14 12:27:28 +02:00
Artem
b2dc897724
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/uk/
2022-05-14 12:27:28 +02:00
hjklkjlkjlk@abv.bg
29f15dab3c
Translated using Weblate (Bulgarian)
Currently translated at 91.7% (312 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/bg/
2022-05-14 12:27:28 +02:00
Artem
5b363d3768
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/uk/
2022-05-14 12:27:28 +02:00
hjklkjlkjlk@abv.bg
4136f99674
Translated using Weblate (Bulgarian)
Currently translated at 4.7% (16 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/bg/
2022-05-14 12:27:28 +02:00
hjklkjlkjlk@abv.bg
7deba03e25
Added translation using Weblate (Bulgarian) 2022-05-14 12:27:28 +02:00
Tibor Kaputa
2e4d605940
Merge pull request #2464 from KryptKode/fix/android_12_mediastore_crash
fix media store crash on deletion on android 12
2022-05-14 12:27:23 +02:00
darthpaul
3571fcd3ab fix media store crash on deletion on android 12
- MediaStore crashed on deletion because the ViewPagerActivity got finish before the MediaStore.createDeleteRequest executes
- To fix, we apply the same approach in the MediaActivity and finish explicitly after deletion completes, if the media list is empty
- also, only refresh the UI when the media list is not empty to avoid UI glitches
- fix slideshow bug by resetting mAreSlideShowMediaVisible back to false when the slideshow ends
2022-05-14 03:51:52 +01:00
tibbi
407922b087 adding the prepaid manifest file too 2022-05-13 14:18:28 +02:00
tibbi
4cac57597c adding the All Files permission in foss and prepaid build variants 2022-05-13 12:27:35 +02:00
tibbi
50f6bb5871 add floating contextual menu at some setting screens 2022-05-09 22:18:21 +02:00
AlbatorV
6d02321004
Update strings.xml 2022-05-09 21:11:58 +02:00
tibbi
7fc6767e4c adding some widget config related improvements 2022-05-09 11:20:12 +02:00
tibbi
45a8ee0ec0 do not show the Media Management prompt with All files permission 2022-05-09 10:46:43 +02:00
tibbi
c5d9ac6fcc prepare the app for having All files permission 2022-05-09 10:44:50 +02:00
J. Lavoie
e3a3cf16ab
Translated using Weblate (French)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/fr/
2022-05-08 09:34:01 +02:00
tibbi
969f0334f3 check noMedia file existence only below Android 11 in some cases 2022-05-08 09:33:56 +02:00
tibbi
0b2f0da4be fix third party intent handling when folder is hidden with a dot 2022-05-07 22:16:27 +02:00
tibbi
048b109f8a adding a crashfix and updating commons 2022-05-04 12:30:15 +02:00
tibbi
146a1b1d69 adding a Prepaid product flavor 2022-05-03 10:56:16 +02:00
Artem
b41a2df762
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/uk/
2022-05-03 10:44:45 +02:00
solokot
fb3f9308a5
Translated using Weblate (Russian)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/ru/
2022-05-03 10:44:45 +02:00
tibbi
45cf8da60f catch exceptions thrown at getDeletedMediaCount() 2022-05-03 10:44:40 +02:00
tibbi
f3eb312e57 fix #1113, #2309, fixing some wallpaper setting related glitches 2022-05-03 10:38:36 +02:00
tibbi
b2130669ab use "Fix Date Taken values" on Android 11+ file fetching 2022-05-03 10:14:18 +02:00
Tibor Kaputa
cbfd8ad7b3
Merge pull request #2436 from KryptKode/feat/manage_media
handle mange media for renaming
2022-05-01 12:04:11 +02:00
AlbatorV
c72c7b799b
Update strings.xml 2022-05-01 11:08:54 +02:00
darthpaul
b4262111d7 use MediaStore request way of deleting files on SDK 31
- on SDK 31+, if the app can manange media, we want to use the MediaStore request way of deleting files
- we use the new method added BaseSimpleActivity.checkManageMediaOrHandleSAFDialogSdk30 that performs the check and determines if we should show the SAF dialog or not
2022-04-30 23:58:21 +01:00
Tibor Kaputa
24694bbec7
Merge pull request #2435 from chreddy/patch-18
Update Danish translation
2022-04-28 19:10:38 +02:00
darthpaul
aca71be5d8 handle mange media for renaming
- move the launchMediaManagementIntent method to commons module
2022-04-28 01:09:11 +01:00
chreddy
5790f3fcb2
Update Danish translation 2022-04-27 17:58:31 +02:00
Simon N
9ebff4e4cd
Translated using Weblate (Swedish)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/sv/
2022-04-25 23:09:19 +02:00
J. Lavoie
0886a2216b
Translated using Weblate (Italian)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/it/
2022-04-25 23:09:19 +02:00
J. Lavoie
8e625487f3
Translated using Weblate (French)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/fr/
2022-04-25 23:09:19 +02:00
J. Lavoie
f56ed92e03
Translated using Weblate (German)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/de/
2022-04-25 23:09:19 +02:00
Josep M. Ferrer
355e8cb87d
Translated using Weblate (Catalan)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/ca/
2022-04-25 23:09:19 +02:00
Guillaume
bee606393c
Translated using Weblate (Dutch)
Currently translated at 100.0% (340 of 340 strings)

Translation: Simple Mobile Tools/Simple Gallery
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-gallery/nl/
2022-04-25 23:09:19 +02:00
tibbi
27107fef63 use higher resolution images as widget preview 2022-04-25 23:09:12 +02:00
tibbi
1d25512053 adding some widget config related improvements 2022-04-25 22:44:58 +02:00