Commit graph

1388 commits

Author SHA1 Message Date
Moustapha Kodjo Amadou
a15afd4334
Merge pull request #536 from NBA2K1/main
Refactor select bar widget and unify manga read state logic
2025-08-19 12:38:16 +01:00
Moustapha Kodjo Amadou
847b212230
Merge pull request #556 from Schnitzel5/fix/recommendations
added missing arb entry
2025-08-19 12:34:04 +01:00
Schnitzel5
c8b8e1d917 added missing arb entry 2025-08-18 18:35:26 +02:00
NBA2K1
00e49e31a0 Merge remote-tracking branch 'upstream/main' 2025-08-18 18:00:46 +02:00
Moustapha Kodjo Amadou
48106450d9
Merge pull request #550 from Schnitzel5/navigation/source-settings
added quick access to source settings
2025-08-18 13:28:55 +01:00
Moustapha Kodjo Amadou
51d35abf55
Merge pull request #551 from Schnitzel5/feature/downloaded-only
added downloaded only mode
2025-08-18 13:27:59 +01:00
Moustapha Kodjo Amadou
4da61519bb
Merge branch 'main' into feature/downloaded-only 2025-08-18 13:27:29 +01:00
Moustapha Kodjo Amadou
4c0d426408
Merge pull request #549 from Schnitzel5/navigation/history
move history to more screen if hidden
2025-08-18 13:19:04 +01:00
Moustapha Kodjo Amadou
3eb4b8e755
Merge pull request #552 from Schnitzel5/feature/recommendations
added Anibrain recommendations
2025-08-18 13:15:27 +01:00
Moustapha Kodjo Amadou
82cdd7d28f
Merge pull request #553 from Schnitzel5/reader/zoom-swipe
allow to swipe pages even if zoomed in
2025-08-18 13:14:02 +01:00
Moustapha Kodjo Amadou
069ea2ac24
Merge pull request #555 from NBA2K1/Kitsu-Cover-Fix
Fix MAL & Kitsu "No Cover" Exception
2025-08-18 13:10:41 +01:00
NBA2K1
85751538ac Fix MAL "No Cover" Exception
```
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling []("large")
```
2025-08-17 20:55:15 +02:00
NBA2K1
f88978219f Fix Kitsu "No Cover" Exception
```
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling []("original")
```
2025-08-17 20:21:28 +02:00
Schnitzel5
226c6b145e allow to swipe pages even if zoomed in 2025-08-15 22:07:44 +02:00
Schnitzel5
c7d1d75045 added Anibrain recommendations 2025-08-15 21:42:47 +02:00
Schnitzel5
56fc7f905a added downloaded only mode 2025-08-15 21:33:54 +02:00
Schnitzel5
201568df9e added quick access to source settings 2025-08-15 21:25:22 +02:00
Schnitzel5
e9bf100905 move history to more screen if hidden 2025-08-15 21:20:36 +02:00
Moustapha Kodjo Amadou
22087752f1
Merge pull request #544 from Schnitzel5/sync/upload-download
re-added full upload and download
2025-08-11 09:30:59 +01:00
Schnitzel5
57be3eec9a re-added full upload and download 2025-08-10 02:14:18 +02:00
Moustapha Kodjo Amadou
9f56555ec4
Merge pull request #542 from NBA2K1/Windows-Version
Show correct version number on Windows
2025-08-05 19:39:35 +01:00
NBA2K1
6db2f601ec Show correct version number on Windows 2025-08-05 19:41:56 +02:00
GitHub Action
0026d1ad61 source update: v0.6.35 2025-08-05 15:07:10 +00:00
Moustapha Kodjo Amadou
a3ec5c9039 v0.6.35 2025-08-05 15:51:52 +01:00
Moustapha Kodjo Amadou
01dc5dba45 Bump d4rt version 2025-08-05 15:50:57 +01:00
NBA2K1
69df87ff0e Merge two identical providers
Merge `isLongPressedMangaStateProvider` and `isLongPressedStateProvider`

Both providers do the same thing and it is impossible to change the value of the provider in different places in the app at the same time.

So just use one `isLongPressedStateProvider`. Reduces code duplication and there is no confusion about which one to use.
2025-07-29 14:02:48 +02:00
Moustapha Kodjo Amadou
9d784a0911
Merge pull request #538 from itsmechinmoy/patch-1
Added Hindi & Assamese Translations
2025-07-29 09:09:12 +01:00
Moustapha Kodjo Amadou
fbb2f36597
Merge pull request #537 from NBA2K1/Fix-DiscordRPC-Exception
Fix AnyhowException (DiscordRPC) when restoring a backup
2025-07-29 09:06:01 +01:00
Itsmechinmoy
1b6a118ad8
Create app_hi.arb 2025-07-29 11:57:49 +05:30
Itsmechinmoy
d58400d236
Create app_as.arb 2025-07-29 11:55:09 +05:30
NBA2K1
cd06ae3e78 Fix Exception when disconnecting
When restoring a backup, the app tries to disconnect DiscordRPC but that gives an exception, when there is no live IPC socket to close.

`AnyhowException (AnyhowException(Failed to close to Discord IPC: Custom { kind: ConnectionRefused, error: "Couldn't retrieve the Discord IPC socket" }`
2025-07-28 17:19:39 +02:00
NBA2K1
c2bae6d17b Extract reusable Select Bar and Button widgets
Previously, the same select bar and button styles were defined in both
`library_screen.dart` and `manga_detail_view.dart`, resulting in repeated code.

This commit extracts the select bar and its buttons into reusable widgets
to reduce duplication and improve readability and maintainability.
2025-07-28 16:29:30 +02:00
NBA2K1
ae1d158264 Combine two identical classes
Combine MangasSetIsReadState and MangasSetUnReadState to reduce code duplication.
2025-07-28 16:08:13 +02:00
Moustapha Kodjo Amadou
36a2232461
Merge pull request #535 from NBA2K1/main
Update manga to display correct number of unread chapters after marking chapters as read/unread
2025-07-28 09:17:05 +01:00
NBA2K1
633b84dd6d Rearrange some code
- variable `color`, to avoid passing `Theme.of(context).textTheme.bodyLarge!.color!` on every Icon in `bottomNavigationBar`
- No need to create variable `isLongPressed` and `chapterNameList` in `build()` and pass them to `_buildWidget()` if they are only going to be used there. Just create the variables inside `_buildWidget()`
- Why create second `isLongPressed` variable in `_buildWidget()` with the same value? Just use the first one.
2025-07-28 00:55:45 +02:00
NBA2K1
fc3cf226f7 bulk write instead of one-by-one (bookmark)
reduces IO-operations.
2025-07-27 21:06:45 +02:00
NBA2K1
88a5474f96 bulk write instead of one-by-one
reduces IO-operations.
2025-07-27 20:06:16 +02:00
NBA2K1
1e2153fa4f Fix unread count after marking chapters read
Fix unread count not updating when marking selected chapters as read
2025-07-27 19:42:05 +02:00
Moustapha Kodjo Amadou
10ee707284
Merge pull request #534 from NBA2K1/main
Fix MyAnimeList Token Refresh
2025-07-27 13:23:39 +01:00
NBA2K1
4bad1a24e3 Refactor 2025-07-25 22:18:44 +02:00
NBA2K1
c74a4c428e Use saved clientId or fallback to refresh token 2025-07-25 21:34:02 +02:00
NBA2K1
76cef84a96 MAL save used clientId on login 2025-07-25 21:33:13 +02:00
NBA2K1
e6302d7d67 Allow OAuth model to save used clientId 2025-07-25 21:32:19 +02:00
Moustapha Kodjo Amadou
41dbb556ba
Merge pull request #531 from NBA2K1/main
Fix regression: restore fullscreen exit logic on desktop
2025-07-24 09:54:46 +01:00
Moustapha Kodjo Amadou
6eba1c5ccc
Merge pull request #532 from NBA2K1/AppImage-optimization
Reduce file size of AppImage
2025-07-24 09:54:10 +01:00
Moustapha Kodjo Amadou
799b168605
Merge pull request #533 from NBA2K1/discordRPC-fix
No discordRPC for iOS and Android
2025-07-24 09:52:28 +01: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
NBA2K1
3585c45181 Avoid zip in AppImage 2025-07-24 00:23:28 +02:00
NBA2K1
52e0875670 exclude libraries in linuxdeploy
flutter already brings some libraries and when building the AppImage with linuxdeploy, it bundles some libraries again. Duplicate libraries leads to bigger AppImage size.
2025-07-24 00:23:28 +02:00
NBA2K1
b388c5fedd re-add removed check in dispose
This was unintentionally removed in d21dbbbc.
This caused fullscreen mode to persist when the user exited the anime player view before the video had started loading.
The fullscreen now correctly exits in the dispose method for desktop platforms again.
2025-07-23 22:45:37 +02:00