Commit graph

111 commits

Author SHA1 Message Date
Moustapha Kodjo Amadou
600a699708 feat: Add use sourceId property if not null to get source model 2025-08-28 12:12:23 +01:00
Schnitzel5
790519fcae fixed ShareX for iPad
https://github.com/fluttercommunity/plus_plugins/tree/main/packages/share_plus/share_plus#ipad
2025-08-27 01:40:31 +02:00
Moustapha Kodjo Amadou
0452576de6
Merge branch 'main' into enhance/mpv 2025-08-21 16:35:08 +01:00
Schnitzel5
226c6b145e allow to swipe pages even if zoomed in 2025-08-15 22:07:44 +02:00
Schnitzel5
38728ce0cb Merge branch 'temp/mpv-anime4k' into feature/mpv-anime4k 2025-07-24 22:31:58 +02:00
NBA2K1
83934d7f35 Fix iOS and Android
The initialization of discordRPC on iOS and Android was leading to a grey screen (UnimplementedError), preventing the app to paint the Flutter UI.
The flutter_discord_rpc is only available on macOS, Linux and Windows.
2025-07-24 01:45:58 +02:00
Schnitzel5
5b56578029 separated some classes from reader_view 2025-07-23 03:16:24 +02:00
Moustapha Kodjo Amadou
e290e0ad4a
Merge branch 'main' into feature/discord-rpc 2025-07-21 09:33:45 +01:00
Moustapha Kodjo Amadou
539fd186cb
Merge pull request #519 from NBA2K1/Properly-dispose
Properly dispose
2025-07-19 15:30:59 +01:00
Schnitzel5
d139042241 added discord rpc 2025-07-18 01:02:59 +02:00
NBA2K1
f3ef7791a6 Save lastPageRead before system kills app
If the app is going to background or is about to be killed, the lastPageRead value is going to be saved, so the progress is not lost if the user leaves the app and the system kills it.
2025-07-12 20:31:19 +02:00
NBA2K1
7a5c25b94f dispose 2025-07-12 20:10:04 +02:00
NBA2K1
c55c988188 Use read instead of watch 2025-07-06 20:35:51 +02:00
Schnitzel5
bd17e1e9eb adjusted sync features 2025-07-04 02:24:01 +02:00
Moustapha Kodjo Amadou
446ba5503d fix #474 2025-06-02 10:11:21 +01:00
Moustapha Kodjo Amadou
c24df38506 feat: Implement virtual scrolling for manga reader with optimized page management
- Added VirtualMangaList widget for displaying manga pages in a virtual scrolling list.
- Introduced VirtualPageManager to handle page loading, caching, and memory optimization.
- Created VirtualReaderView to integrate virtual scrolling with PhotoView for enhanced reading experience.
- Implemented page loading states and memory cleanup mechanisms in VirtualPageManager.
- Added debug information overlay for monitoring virtual page manager statistics.
- Enhanced user experience with callbacks for chapter transitions and page changes.
2025-05-28 14:56:05 +01:00
Moustapha Kodjo Amadou
c3ac07fa97 feat(reader): implement chapter transition view
- Introduced `TransitionViewPaged` and `TransitionViewVertical` widgets to handle chapter transitions.
- Created `ChapterTransitionPage` widget to display transition information between chapters.
- Updated reader view logic to incorporate transition pages when navigating chapters.
- Enhanced `UChapDataPreload` model to support transition states and next chapter information.

feat(localization): add chapter transition messages in multiple languages

fix(dependencies): update Dart SDK and dependencies

- Updated Dart SDK constraint to ^3.8.0.
- Changed `epubx` dependency to use the latest version from GitHub.
2025-05-27 17:30:31 +01:00
Enbiya Olgun
404e18c4a5 introduce mangaReaderProvider and refactor MangaReaderView
- Add `ChapterWithPages` model and `MangaReaderController` (FamilyAsyncNotifier)
  to load chapter + pages in a single provider (`mangaReaderProvider`)
- Replace synchronous Isar fetch in `MangaReaderView` with `ref.watch(mangaReaderProvider)`
- Unify loading, error, and data states using a shared `scaffoldWith` helper
- Remove duplicated `Scaffold`/`AppBar` boilerplate and inline SystemChrome restore logic
- Simplify error handling
2025-04-23 00:11:20 +02:00
Enbiya Olgun
3ecbef80b2 Fix Exception
At line 963, when scrolling too fast in manga reader and page didn't load before.
```
═══════ Exception caught by foundation library ════════════════════════════════
The following StateError was thrown while dispatching notifications for ValueNotifier<Iterable<ItemPosition>>:
Bad state: No element
```
2025-04-22 03:49:31 +02:00
Moustapha Kodjo Amadou
2eb4545082 refactor: replace ListView with SuperListView across multiple widgets 2025-03-09 12:02:38 +01:00
Moustapha Kodjo Amadou
3e401c8af2 dart format 2025-02-23 15:31:49 +01:00
Schnitzel5
aa946c9d51 enhanced sync feature 2025-02-12 19:13:16 +01:00
Moustapha Kodjo Amadou
4265ba11fe refactor: remove unnecessary iOS view checks and adjust animation duration in reader view 2025-01-22 10:30:37 +01:00
Moustapha Kodjo Amadou
e901ef6281 refactor: update chapter handling to use IDs instead of objects in reader views 2025-01-22 10:02:44 +01:00
Moustapha Kodjo Amadou
e139dc3247 fix #362 2025-01-21 15:53:10 +01:00
Schnitzel5
3bc85cf5aa saving novel chapter progress + removed sync for now 2024-12-21 21:18:21 +01:00
kodjomoustapha
a41ccaff22 fix & reformat 2024-12-20 10:15:15 +01:00
kodjomoustapha
f99bc996b1 fix 2024-12-19 17:52:47 +01:00
kodjomoustapha
4748f3c699 fix 2024-12-13 10:31:57 +01:00
NBA2K1
e2e884db94 Issue #331
- Missed a concatenated path in manga_detail_view and in reader_view
- Made the Manga / Anime title selectable, so one can copy the title if needed
- Hidden the Backup share-button, because Linux has no share-feature and the button simply does nothing.
2024-12-11 21:26:18 +01:00
kodjomoustapha
32afc3c71e add webview for linux 2024-11-13 10:53:36 +01:00
kodjomoustapha
5ef0247d9c + 2024-11-01 15:20:30 +01:00
Schnitzel5
cfc2125dab adjust SafeArea for reader view 2024-10-13 19:24:56 +02:00
Schnitzel5
3993f7fd1f only display top system bar in reader mode 2024-10-09 21:08:40 +02:00
kodjomoustapha
9f39be7bb8 fix: can’t swipe to the next chapter if the current chapter only has 1 page (reader setting: ltr, rtl, vertical) 2024-09-30 11:06:54 +01:00
kodjomoustapha
b7f4a3addb improve 2024-09-26 14:48:14 +01:00
Schnitzel5
96e5f08a30 fix sync after read or watch option 2024-09-12 22:37:53 +02:00
kodjomoustapha
08ebedbe37 + 2024-09-04 12:07:13 +01:00
kodjomoustapha
7d5640e2b0 feat: add a custom request headers for getPageList #235 2024-08-02 14:51:39 +01:00
kodjomoustapha
4203ddf7fb fix #229, #119, #134 2024-07-29 10:07:11 +01:00
kodjomoustapha
3fbbf7cf49 + 2024-06-13 16:16:42 +01:00
kodjomoustapha
49bae6d143 + 2024-05-30 14:03:13 +01:00
kodjomoustapha
5f8344b2b3 fix cropBorders 2024-05-29 17:55:05 +01:00
kodjomoustapha
6ed57e2e44 rm 2024-05-27 09:26:30 +01:00
kodjomoustapha
170f07e3be fix 2024-05-25 18:06:27 +01:00
kodjomoustapha
2f11f495ac some fixes 2024-05-22 18:41:53 +01:00
kodjomoustapha
2353b48e59 fix 2024-05-20 16:28:16 +01:00
kodjomoustapha
eeddf0d929 fix #184 2024-05-14 15:06:12 +01:00
kodjomoustapha
3fa7fce8aa + 2024-05-09 15:37:52 +01:00
kodjomoustapha
12d15f24d0 +
- Fix slider not working when in horizontal continue mode
- Refactor getting chapter image provider method
- Fix crop image border when loading whith network
2024-05-07 17:55:14 +01:00