Commit graph

8328 commits

Author SHA1 Message Date
Ensar Sarajčić
473c313a44 Add util function to check if SDK is 34+ 2023-08-04 12:10:05 +02:00
Tibor Kaputa
595d11d19d
Merge pull request #1778 from esensar/fix/tab-layout-crash
Fix crash with TabLayouts and their tabs
2023-08-04 10:51:03 +02:00
Ensar Sarajčić
43f2c95d2f Fix crash with TabLayouts and their tabs
ViewBinding crashes when TabLayout items have IDs, because
these are not real views - they are just dummy views used to
define tabs in XML.
More info: https://stackoverflow.com/questions/66320075/missing-required-view-with-id-with-view-binding-and-navigation-component/66325932#66325932

After that Tabs caused endless loop, because they were inflating themselves
using `...Binding.inflate`. Since they are their own views which also use
XML, `...Binging.bind` should be used in `onFinishInflate`.
2023-08-04 10:20:09 +02:00
FunkyMuse
ffbeb40cd4 refactor: spacing 2023-08-04 00:28:56 +02:00
FunkyMuse
bf8ae1aaea refactor: reorder params 2023-08-04 00:25:37 +02:00
FunkyMuse
f785b1f915 refactor: smaller line height for title and same size for title and text 2023-08-04 00:23:12 +02:00
FunkyMuse
3c630b92a6 feat: add divider and smaller gap 2023-08-04 00:08:47 +02:00
FunkyMuse
3e415548ec refactor: spacing 2023-08-04 00:00:06 +02:00
FunkyMuse
6226014d40 fix: link text color to match primary 2023-08-03 18:42:12 +02:00
FunkyMuse
658adce2e6 feat: FAQ activity migration to Compose
also introduced two new components for building settings looking scaffold and break down components to be reusable
2023-08-03 17:01:23 +02:00
Tibor Kaputa
3c4b43918d
Merge pull request #1775 from FunkyMuse/master
feat: About Activity migration to Compose
2023-08-03 13:18:22 +02:00
FunkyMuse
b2c561b2ef refactor: add color as a parameter 2023-08-03 13:17:42 +02:00
Tibor Kaputa
c5a32fb1f3
Merge pull request #1776 from esensar/viewbinding-recycler-adapter
Add support for creating viewholder with just a view to better support viewbinding
2023-08-03 13:13:13 +02:00
Ensar Sarajčić
a8ebd38380 Add support for creating viewholder with just a view to better support viewbinding 2023-08-03 12:53:03 +02:00
FunkyMuse
f8ad23bd26 fix: ui cosmetics 2023-08-03 12:23:43 +02:00
Tibor Kaputa
713d3d9753
Merge pull request #1774 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2023-08-02 16:00:45 +02:00
FunkyMuse
430e045637 refactor: remove unnecessary XML 2023-08-02 12:35:51 +02:00
FunkyMuse
f37b14836f fix: icon size and github tint 2023-08-02 12:34:49 +02:00
FunkyMuse
f41a2f576c refactor: make bottom spacer smaller 2023-08-02 12:24:28 +02:00
FunkyMuse
a7f4903182 refactor: make about screen internal 2023-08-02 12:14:45 +02:00
FunkyMuse
385b050b80 refactor: make startingTitlePadding private 2023-08-02 12:03:37 +02:00
FunkyMuse
27c317d8bd refactor: remove about activity xml 2023-08-02 12:02:13 +02:00
FunkyMuse
887df647d4 feat: about screen in compose
and create reusable settings components
2023-08-02 12:01:35 +02:00
Agnieszka C
570a66831f
Translated using Weblate (Polish)
Currently translated at 100.0% (899 of 899 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/pl/
2023-08-02 08:07:12 +02:00
Kingproone
3d0e11c57d
Translated using Weblate (Hungarian)
Currently translated at 100.0% (899 of 899 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/hu/
2023-08-01 06:12:20 +02:00
Tibor Kaputa
53ad279f5e
Merge pull request #1769 from FunkyMuse/feature/ksp_migration
feat: migrate to KSP and remove KAPT to improve build times
2023-07-31 00:06:16 +02:00
Tibor Kaputa
068d04cb74
Merge pull request #1770 from FunkyMuse/master
feat: add necessary Common compose things to expose to other apps
2023-07-31 00:03:11 +02:00
FunkyMuse
5e447a21b7 refactor: remove the need for named return value 2023-07-30 22:40:55 +02:00
FunkyMuse
863d8b386e refactor: remove extra lines 2023-07-30 22:40:24 +02:00
FunkyMuse
33927dd055 fix: apply mr feedback 2023-07-30 22:37:56 +02:00
Tibor Kaputa
f87816ccb3
Merge pull request #1773 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2023-07-30 22:24:33 +02:00
Макар Разин
47b5aee065
Translated using Weblate (Belarusian)
Currently translated at 99.7% (897 of 899 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/be/
2023-07-30 22:20:07 +02:00
Tibor Kaputa
3024bceb15
Merge pull request #1772 from fatihergin/fix/disabling-minifiy-enabled-for-shared-content
disable isMinifyEnabled
2023-07-30 22:20:03 +02:00
fatih ergin
c1ab9695b6 disable isMinifyEnabled 2023-07-30 20:06:45 +03:00
FunkyMuse
5fc0f907fd feat: add necessary Common compose things to expose to other apps 2023-07-28 15:23:43 +02:00
FunkyMuse
9aead43642 refactor: remove extra line 2023-07-28 15:01:28 +02:00
FunkyMuse
1a66e45230 refactor: naming so that compiler doesn't cry 2023-07-28 14:53:25 +02:00
FunkyMuse
f9bd8f0ff7 refactor nullability 2023-07-28 14:52:31 +02:00
FunkyMuse
1a4a8e621c feat: migrate to KSP and remove KAPT to improve build times 2023-07-28 14:49:57 +02:00
Tibor Kaputa
1afa449021
Merge pull request #1768 from weblate/weblate-simple-mobile-tools-simple-commons
Translations update from Hosted Weblate
2023-07-28 08:28:33 +02:00
solokot
8525d7bc9b
Translated using Weblate (Russian)
Currently translated at 100.0% (899 of 899 strings)

Translation: Simple Mobile Tools/Simple Commons
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-commons/ru/
2023-07-28 01:07:31 +02:00
Tibor Kaputa
6a06868b5c
Merge pull request #1767 from FunkyMuse/master
fix proguard rules
2023-07-27 22:03:17 +02:00
FunkyMuse
1edb53f421
Merge branch 'SimpleMobileTools:master' into master 2023-07-27 18:25:39 +02:00
FunkyMuse
64db84f6c8 fix: proguard missing rules due to agp upgrade 2023-07-27 18:24:54 +02:00
Tibor Kaputa
3ab1d5ef0c
Merge pull request #1762 from FunkyMuse/master
view binding migration
2023-07-27 17:16:13 +02:00
FunkyMuse
f85e7a6fde refactor: OpenDeviceSettingsDialog to view binding 2023-07-27 17:03:52 +02:00
FunkyMuse
9b4cc65392
Merge branch 'SimpleMobileTools:master' into master 2023-07-27 16:58:03 +02:00
Tibor Kaputa
dd5d48bc18
Merge pull request #1765 from esensar/auto-grid-layout-manager
Move AutoGridLayoutManager from other apps into Commons for reuse
2023-07-27 16:33:03 +02:00
FunkyMuse
32b331b1b6 refactor: star import 2023-07-27 16:32:33 +02:00
FunkyMuse
ccce65da89 migrate everything to view binding 2023-07-26 17:13:01 +02:00