Commit graph

96 commits

Author SHA1 Message Date
arkon
f667f85fa5 More consistent injectLazy style 2021-01-17 15:40:26 -05:00
arkon
f85194ec46 Handle download cancelation from icon properly (fixes #4241) 2021-01-16 15:48:02 -05:00
inorichi
36f81b4a62 Minor fixes regarding leaks 2021-01-07 15:19:00 +01:00
arkon
63398fe491 Implement click events for chapter download icons 2020-12-31 18:14:51 -05:00
arkon
0e2b8b10d1 Show download progress in download icons 2020-12-27 16:50:25 -05:00
arkon
6378a41b6d Minor cleanup of UpdatesHolder 2020-12-27 15:34:14 -05:00
arkon
23bf7faf9f Hide chapter download icons for local manga 2020-12-27 15:25:40 -05:00
arkon
84ae61f72c Refactor download states into enum 2020-12-27 10:20:14 -05:00
arkon
5901978889 Use view binding for date headers 2020-12-13 17:47:29 -05:00
arkon
e048d66f74 Revert edge to edge
This was a bigger headache than it was worth. To note, phone landscape wasn't considered, so the navbar overlaps the content on the side. Additionally, the ability to programatically control the navbar scrim is missing, so it'd have to manually be added.
2020-11-29 11:08:06 -05:00
arkon
749c2071af Replace Kotlin synthetic views in viewholders 2020-11-28 15:24:40 -05:00
arkon
322d66d282 Replace more usages of Kotlin synthetic views 2020-11-28 14:56:57 -05:00
arkon
776f6a9a16 More bottom inset padding fixes 2020-11-27 21:05:06 -05:00
arkon
56e1e3e205 Further abstract how bottom navbar padding is applied 2020-11-22 22:57:58 -05:00
arkon
0f805cd45e Handle bottom navbar padding when drawing edge to edge 2020-11-22 22:48:38 -05:00
arkon
1d7c692e89 Create extension function for applying system insets 2020-11-22 22:30:25 -05:00
jobobby04
efc951191d
History fixes (#3921)
(cherry picked from commit 776a4b2a2414f5f35b28f5d8c830baca6351e123)
2020-10-10 16:05:29 -04:00
jobobby04
e88cbc2769
Fix deleting history not refreshing the view (#3882)
Fix deleting history not refreshing the view
2020-10-02 13:19:16 -04:00
jobobby04
9d2adcd512
Add infinite history and search history (#3827)
* Add infinite history and search history

* Cleanup code
2020-09-27 18:17:14 -04:00
arkon
76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon
c466baaa25 Remove list dividers 2020-09-12 15:39:26 -04:00
arkon
64bdfabbd8
Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon
4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon
0aed93becf Don't show chapter number in history item when unknown 2020-07-26 16:17:27 -04:00
arkon
647391ef73 Make library update error notification optional (closes #3200) 2020-05-20 17:39:01 -04:00
arkon
102a372df9
Sort chapters by upload date (#3180)
* Added sorting by upload date

Spanish 'strings' contains the proper translation for the new feature.

* Added missing sorting cases handling

Previous commit missed some cases resulting in errors at runtime

* Implemented review changes

Shorter UI text and >= date comparison instead of >
2020-05-17 10:18:49 -04:00
Lautaro Martin Emanuel
6ba052d2af Implemented review changes
Shorter UI text and >= date comparison instead of >
2020-05-16 18:54:47 -03:00
arkon
3357e878a5 Square covers in list view (closes #3121) 2020-05-16 16:35:40 -04:00
arkon
1cf74a5396 Add fastscroller to updates and history 2020-05-16 10:17:09 -04:00
Lautaro Martin Emanuel
9e830f1c55 Added missing sorting cases handling
Previous commit missed some cases resulting in errors at runtime
2020-05-15 01:10:02 -03:00
arkon
dd1b5c7ea7 Minor edits 2020-05-10 12:58:13 -04:00
MCAxiaz
dc54299e24
Manga cover updates (#3101)
* cover caching overhaul

* add ui for removing custom cover

* skip some loading work

* minor cleanup

* allow refresh library metadata to refresh local manga

* rename metadata_date to cover_last_modified

* rearrange removeMangaFromLibrary

* change custom cover directory
add setting for updating cover when refreshing library

* remove toggle and explicit action for updating covers
2020-05-10 11:15:25 -04:00
MCAxiaz
a20874f6a1
String Formatting Fixes (#3118)
String Formatting Fixes
2020-05-08 21:44:01 -04:00
arkon
5977fca6b9 Fix bottom nav opening if opening manga from updates while in action mode 2020-05-04 19:08:35 -04:00
arkon
ce0090f0ca Bunch of crash fixes 2020-05-03 12:17:10 -04:00
arkon
33901dd72f More ActionToolbar tweaks 2020-05-02 14:51:28 -04:00
arkon
e2158af592 Swap bottom nav and ActionToolbar when appropriate 2020-05-02 12:27:23 -04:00
arkon
33d2b0984f Fix chapter list selection uninverting (closes #3014) 2020-05-01 19:53:26 -04:00
arkon
0a509cb382 Remove usage of alpha color selectors (fixes #2957)
Doesn't work properly in API < 23
2020-04-26 17:24:31 -04:00
arkon
3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon
53a3be0703 Migrate more preferences 2020-04-22 22:19:21 -04:00
arkon
c967308859 Replace deprecated adapterPosition with bindingAdapterPosition 2020-04-22 09:17:23 -04:00
arkon
02207f6cfd Make entire history item card clickable 2020-04-22 09:14:30 -04:00
arkon
932a47a8a7 Update Material Dialogs 2020-04-21 23:33:01 -04:00
arkon
b17762f8d9 Remove source name from history cards, slightly compacter 2020-04-21 18:41:05 -04:00
MCAxiaz
b3611eef9d
Bug/2894 covers not updating (#2908)
* Use a wrapper around Manga to supply glide with proper equals() and hashCode() impl. for caching

* reload image if url has changed

* ignore case for http scheme comparison

* more ignore case for http scheme comparison

* fix indenting

* use data class for MangaThumbnail
2020-04-21 09:13:23 -04:00
arkon
d6e49be268 Remove some progress dialogs 2020-04-20 23:10:10 -04:00
arkon
11e10f6eff Replace some old color attribute usages 2020-04-19 12:02:08 -04:00
TacoTheDank
415df2357c
JDK8, lint fixing (#2888)
* Use Kotlin JDK8

* Satisfy a ton of lints

* Run res/layout files (and manifest) through reformatter
2020-04-18 14:47:22 -04:00
arkon
6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00