4137 Commits

Author SHA1 Message Date
Frans-Lukas
58ef0de353 #1972 switched to use lambda method calls 2020-04-10 14:59:08 +02:00
Yash Khare
78214dd255 Use a publish processor for finishing action mode
Use a publish processor for finishing action mode
2020-04-10 15:34:23 +05:30
Yash Khare
fbf7c50f78 Use fold instead of forEach 2020-04-09 21:52:46 +05:30
Yashwant
834b90b0a1 WifiDirectManager Converted to Kotlin 2020-04-09 21:23:54 +05:30
Yashwant
a04188cde8 WifiDirectManager to Kotlin 2020-04-09 16:24:59 +05:30
Seán Mac Gillicuddy
634ef2b2c3
Merge pull request #1893 from sonusourav/notes
Fixes #1886 Crash fixed in Notes
2020-04-08 14:28:20 +01:00
Yash Khare
88dba92b4a Fix #1946 Make a single dialog with a list view of all zims to be deleted 2020-04-07 22:50:28 +05:30
Sonu Sourav
61a981cc80 Inlined injection method in addNoteDialog 2020-04-07 22:25:32 +05:30
Sonu Sourav
5baba3d49f Deleted dialog module 2020-04-07 21:52:12 +05:30
Seán Mac Gillicuddy
c3e6b34d67
Merge pull request #1957 from akkywadhwa/dimen-util-kotlin
Fix #1956 Converted DimenUtils to Kotlin
2020-04-07 16:18:26 +01:00
Sonu Sourav
c6a7c6a5f9 Deleted ConfirmationAlertDialog 2020-04-07 03:18:23 +05:30
Sonu Sourav
80a59876ae Passed bundle in newInstance method 2020-04-07 03:17:04 +05:30
Sonu Sourav
b470198d79 Passed alertDialogShower in bundle 2020-04-07 03:17:03 +05:30
Sonu Sourav
92e92eafcb Fixes #1886 Crash fixed in Notes 2020-04-07 03:17:03 +05:30
Hritik Wadhwa
5ab444e1c0 Rename computeDisplayMetric and make it extension property 2020-04-06 22:00:20 +05:30
Seán Mac Gillicuddy
77df01da65
Merge pull request #2001 from kiwix/macgills/feature/1865-test-recent-search-dao
#1865 Add unit tests for NewRecentSearchDao
2020-04-06 15:47:25 +01:00
Frans-Lukas
722f4a7642 #1972 initial conversion of HistoryPresenter to kotlin. 2020-04-05 13:15:08 +02:00
Hritik Wadhwa
42fd702dc2 Fixing import 2020-04-04 13:13:11 +05:30
Hritik Wadhwa
2d4ea0c25b Extended functions from Activity 2020-04-04 08:11:52 +05:30
Seán Mac Gillicuddy
45b14119c9
Merge pull request #2003 from kiwix/macgills/feature/2002-pre-allocation
#2002 Stop pre allocation of downloads and instead check currently downloading books to calculate available space
2020-04-03 15:34:04 +01:00
Sean Mac Gillicuddy
3e0c77059a #2002 Stop pre allocation of downloads and instead check currently downloading books to calculate available space - fix unit test compilation 2020-04-03 14:22:08 +01:00
Sean Mac Gillicuddy
88d1f7118f #2002 Stop pre allocation of downloads and instead check currently downloading books to calculate available space 2020-04-03 13:30:52 +01:00
Seán Mac Gillicuddy
d4c2a0c8b8
Merge pull request #1897 from yash1ts/#1891-help-activity-kotlin
HelpActivity converted to kotlin
2020-04-03 13:12:27 +01:00
Yashwant
36c0b5b43f HelpActivity converted to kotlin: Changed HelpActivity test 2020-04-03 17:08:46 +05:30
Sean Mac Gillicuddy
a8d6612ee6 #1865 Add unit tests for NewRecentSearchDao - add remaining tests 2020-04-03 09:12:14 +01:00
Hritik Wadhwa
fc6d72bb8a Writing getToolbarHeight clearly 2020-04-03 13:10:18 +05:30
Hritik Wadhwa
673604636d Changing to Extension Functions 2020-04-03 13:03:26 +05:30
Seán Mac Gillicuddy
adcde1dc31
Merge pull request #1986 from akkywadhwa/main-presenter-kotlin
Fixed #1985 Converted MainPresenter to Kotlin
2020-04-03 08:21:13 +01:00
Seán Mac Gillicuddy
6ad70ba1d7
Merge pull request #1994 from akkywadhwa/network-mod-kotlin
Fixed #1993 Converted NetworkModule to Kotlin
2020-04-03 08:05:48 +01:00
Hritik Wadhwa
21e075f9ab Refactor MainPresenter 2020-04-03 02:45:06 +05:30
Hritik Wadhwa
f8b570dfbb Remove nullable and companion object 2020-04-02 22:03:43 +05:30
Sean Mac Gillicuddy
c062670efa #1865 Add unit tests for NewRecentSearchDao - fix import 2020-04-02 15:56:03 +01:00
Hritik Wadhwa
2d344ff9f1 Refactor NetworkModule 2020-04-02 20:17:26 +05:30
Sean Mac Gillicuddy
801a46d865 #1865 Add unit tests for NewRecentSearchDao - add model function 2020-04-02 15:46:20 +01:00
Sean Mac Gillicuddy
74dd017c68 #1865 Add unit tests for NewRecentSearchDao - add test for recentSearches method 2020-04-02 15:31:47 +01:00
Seán Mac Gillicuddy
7dcd3bebb9
Merge pull request #2000 from kiwix/macgills/feature/1909-animation-util-to-kotlin
#1909 Convert AnimationUtil to Kotlin - convert AnimatUtil - modify codestyle so R. does not get omitted when converting to kotlin - force import optimisation
2020-04-02 15:20:48 +01:00
Hritik Wadhwa
5679b81e1f Using dagger in TestNetworkModule 2020-04-02 19:16:20 +05:30
Sean Mac Gillicuddy
2b8e321791 #1909 Convert AnimationUtil to Kotlin - convert AnimatUtil - modify codestyle so R. does not get omitted when converting to kotlin - force import optimisation 2020-04-02 13:59:52 +01:00
Hritik Wadhwa
804f1e0a35 Fixing failed test 2020-04-02 17:07:12 +05:30
Seán Mac Gillicuddy
740c460406
Merge pull request #1944 from yashk2000/feature/yashk2000/1823-update-tab-color-in-night-mode
Fix #1823 Change tab theme in light and dark mode
2020-04-02 12:08:52 +01:00
Yash Khare
a9943a7ab6 Simplifiy condition for turning on dark mode 2020-04-02 15:54:35 +05:30
Seán Mac Gillicuddy
cab9934018
Merge pull request #1973 from Frans-Lukas/1971-convert-historyadapter-to-kotlin
1971 convert historyadapter to kotlin
2020-04-02 11:06:13 +01:00
Yash Khare
d0d0104a84 Use foreach and syntax improvements 2020-04-02 15:10:31 +05:30
Frans-Lukas
8858765aaf #1971 made set text cleaner. 2020-04-02 11:27:40 +02:00
Frans-Lukas
fadd3ff2d1 #1971 made when statement cleaner 2020-04-02 10:40:29 +02:00
Yash Khare
63948da600 Update function parameters 2020-04-02 13:50:31 +05:30
Yash Khare
d4b4f3fecd Use jvmOverloads to make multiple function declarations 2020-04-01 21:37:38 +05:30
Frans-Lukas
62e30b2d04 #1971 name change deletion 2020-04-01 16:31:05 +02:00
Frans-Lukas
4f8d48c6af #1971 Rename class to better describe it and small style fixes to history classes 2020-04-01 15:57:52 +02:00
Yash Khare
0d8ca9f8b8 Use a receiver function as a parameter for activating dark mode 2020-04-01 19:21:54 +05:30