Commit graph

1264 commits

Author SHA1 Message Date
Schnitzel5
0ad836994d bottoast 2025-04-22 22:30:11 +02:00
Moustapha Kodjo Amadou
00d9b8373e
Merge pull request #445 from NBA2K1/main
Fix #444 + Kitsu detail change + episode/chapter name marquee effect
2025-04-22 09:05:09 +01:00
Enbiya Olgun
2446756552 moved super() call of initState to top of method 2025-04-22 04:57:52 +02:00
Enbiya Olgun
dabd0da206 App now adjusts theme without scheduler
Flutter already knows how to switch the theme automatically.
No need to listen to onPlatformBrightnessChanged.
This works on cold start.
Works when app is running and system theme changes.
And works when backup was done on different system theme and restore is being done on different system theme.
2025-04-22 04:55:46 +02:00
Enbiya Olgun
ffd776dbf1 tidy up main.dart and move theme handling to provider
removed code duplication
2025-04-22 03:53:28 +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
Enbiya Olgun
59b2389631 Fix Exception
```
════════ Exception caught by widgets library ═══════════════════════════════════
The following UnsupportedError was thrown building CircularProgressIndicator(100.0%, dependencies: [InheritedCupertinoTheme, _InheritedTheme, _LocalizationsScope-[GlobalKey#3b6da]], state: _CircularProgressIndicatorState#8c03b(ticker inactive)):
Unsupported operation: Infinity or NaN toInt

The relevant error-causing widget was:
    CircularProgressIndicator CircularProgressIndicator (package:mangayomi/modules/manga/reader/widgets/circular_progress_indicator_animate_rotate.dart:56:27)
```
2025-04-22 03:23:12 +02:00
Enbiya Olgun
3e2d7ed5bd check if System theme has been changed
Why was this removed?
2025-04-22 01:17:17 +02:00
Enbiya Olgun
b5d65168fb Fix Exception
```
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Bad state: Cannot use "ref" after the widget was disposed.
#0      ConsumerStatefulElement._assertNotDisposed (package:flutter_riverpod/src/consumer.dart:550:7)
consumer.dart:550
#1      ConsumerStatefulElement.read (package:flutter_riverpod/src/consumer.dart:619:5)
consumer.dart:619
#2      _MainScreenState.initState.<anonymous closure>.<anonymous closure> (package:mangayomi/modules/main_view/main_screen.dart:70:13)
main_screen.dart:70
#3      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:410:19)
timer_impl.dart:410
#4      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:441:5)
timer_impl.dart:441
#5      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:194:12)
isolate_patch.dart:194
```
2025-04-22 00:39:00 +02:00
Enbiya Olgun
6d99d9a690 Implemented text scroll to chapter/episode list
title text scroll (like a marquee effect) when the chapter/episode name is too long.
2025-04-21 22:47:23 +02:00
Enbiya Olgun
ef4abc47f2 Fix #444 + Remove code duplication
- Tracker Kitsu now displays "ì" correctly
- Removed a lot of code duplication in Kitsu.
2025-04-21 19:10:09 +02:00
Enbiya Olgun
dfade2f78e Kitsu no shows "Start date" and "Finish Date" when date is not set
Instead of "01 Jan 1970" show "Start date" and "Finish Date" on kitsu. Just like MyAnimeList
2025-04-21 19:05:01 +02:00
Schnitzel5
d4e768f6f7 added progress for updating the library 2025-04-17 23:15:59 +02:00
Moustapha Kodjo Amadou
4941cb92fc
Merge pull request #436 from NBA2K1/main
Clean up code + Add keyboard shortcut + Fix CBZ Archive
2025-04-17 17:53:26 +01:00
Schnitzel5
58ec9895eb + 2025-04-15 00:18:23 +02:00
Schnitzel5
50fe6abfac updates screen search query 2025-04-14 00:00:41 +02:00
Schnitzel5
90dadbd2c6 fixed last updated 2025-04-10 16:03:08 +02:00
Enbiya Olgun
3fb6650f2e Extension Uninstall Message
Removed a space
2025-04-09 22:02:08 +02:00
Schnitzel5
454445ad25 fixed auto theme 2025-04-08 23:39:17 +02:00
Enbiya Olgun
cf8852fe50 Stays in the current category when updating
Fix #437
2025-04-08 00:36:33 +02:00
Enbiya Olgun
f765581b37 Fixed the Archive creation
This fixes issue #435
2025-04-07 19:23:28 +02:00
Enbiya Olgun
5e5f4d34cf Pass the correct list to convertToCBZ
e.url are the original remote URLs
Now the correct list of local image file paths is being passed to convertToCBZ.
2025-04-07 19:17:39 +02:00
Enbiya Olgun
3d69caa392 Remove duplicate code
Why wasn't getMangaChapterDirectory simply using getMangaMainDirectory?
2025-04-07 19:14:43 +02:00
Enbiya Olgun
6afe7c97f7 What happened here?
fixSeparator? Just directly use join...
2025-04-07 04:04:05 +02:00
Enbiya Olgun
0188f99aad Added keyboard shortcut
Added the Enter-key as a shortcut to skip the Anime intro (defaultSkipIntroLength).
2025-04-06 23:18:47 +02:00
Enbiya Olgun
7edab23ecf Changed App Category to "AudioVideo"
+ corrected a typo
2025-04-06 16:23:26 +02:00
Moustapha Kodjo Amadou
bc2ec42d20 fix 2025-04-03 09:08:13 +01:00
Moustapha Kodjo Amadou
2dacbb4261
Merge pull request #432 from NBA2K1/main
Apply Correct System Theme After Restart + Localized messages are generated into source
2025-04-03 09:51:24 +02:00
NBA2K1
fcc6aa0f7f Localized messages are generated into source.
https://docs.flutter.dev/release/breaking-changes/flutter-generate-i10n-source
The flutter tool will no longer generate a synthetic package:flutter_gen or modify the package_config.json of the app.
Applications or tools that referenced package:flutter_gen should instead reference source files generated into the app's source directory directly.
2025-04-03 01:27:24 +02:00
NBA2K1
0d9ba09183 Apply Correct System Theme After Restart
App now looks if the system theme has been changed since last time the app was used and changes it accordingly.
2025-04-03 01:19:40 +02:00
Moustapha Kodjo Amadou
a47581ac01
Merge pull request #431 from tanakrit-d/image-path-fix
image path fix
2025-04-02 16:17:11 +02:00
Tanakrit-D
36166b3018 image path fix 2025-04-03 01:08:40 +11:00
GitHub Action
aeaf54425a source update: v0.6.0 2025-04-02 13:54:19 +00:00
Moustapha Kodjo Amadou
1a9674538d v0.6.0 2025-04-02 14:39:14 +01:00
Moustapha Kodjo Amadou
3f27122a15 feat: add new localization strings for multiple languages 2025-04-02 14:36:14 +01:00
Moustapha Kodjo Amadou
cd7d029a09 chore: update flutter_rust_bridge 2025-04-02 13:34:13 +01:00
Moustapha Kodjo Amadou
5a91f75f30
Merge pull request #418 from tanakrit-d/sign-ipa-integrate-repo
add ipa signing; integrate repo; add entitlements
2025-04-02 14:18:33 +02:00
Moustapha Kodjo Amadou
27154129d9 chore: update dependencies 2025-04-02 09:03:19 +01:00
Moustapha Kodjo Amadou
a0df094504 refactor: improve download button logic and clean up code 2025-04-01 17:15:54 +01:00
Moustapha Kodjo Amadou
a26a764753
Merge pull request #427 from Schnitzel5/feature/android-update
android users now can directly install new updates
2025-03-31 20:28:06 +02:00
Tanakrit-D
5728ea46db add ipa signing; integrate repo; add entitlements 2025-04-01 00:19:35 +11:00
Schnitzel5
4791acc425 android users now can directly install new updates 2025-03-28 23:54:33 +01:00
Schnitzel5
175ea414b8 added android update 2025-03-28 16:00:29 +01:00
Schnitzel5
c45d8df099 test 2025-03-28 00:15:35 +01:00
Moustapha Kodjo Amadou
49bc8dd1a1 refactor 2025-03-27 16:03:11 +01:00
Moustapha Kodjo Amadou
5ef6963edc implement conditional display of DarkModeButton based on system theme preference 2025-03-27 15:54:19 +01:00
Moustapha Kodjo Amadou
451a07aef5 add statistics provider and redesign 2025-03-27 15:48:54 +01:00
Moustapha Kodjo Amadou
bbd53185db bump Dart SDK version 2025-03-27 13:02:06 +01:00
Moustapha Kodjo Amadou
3c74a750ff
Merge pull request #426 from Schnitzel5/fix/restore-tachibk
fixed restore archive bug
2025-03-27 13:01:18 +01:00
Schnitzel5
3b2e6f9fcc fixed archive bug 2025-03-26 23:46:42 +01:00