Commit graph

186 commits

Author SHA1 Message Date
NBA2K1
73e7ad05f9 Fix MyAnimeList expiresIn retrieval
Remove incorrect expiresIn calculation in `OAuth.fromJson`. The `login()`
function of the MyAnimeList class already sets expiresIn as an absolute timestamp in milliseconds.
Multiplying by 1000 and adding the current timestamp in fromJson caused
expiresIn to be inflated, making the expiration check in `_getAccessToken()`
always false, skipping token refresh and returning an invalid token.
2025-05-04 22:36:54 +02:00
Enbiya Olgun
b6ff9fe141 Update custom_navigation_settings.dart
No need for SingleChildScrollView, because ReorderableListView already is scrollable
2025-04-28 21:03:41 +02:00
Enbiya Olgun
c799c3451c rearranged Code
- New SettingsSection class to remove code duplication

- Moved the big ListTile+Dialog blocks in their own private methods:
_buildLanguageTile(),
_buildFontTile(),
_buildRelativeTimestampTile(),
_buildDateFormatTile()
2025-04-28 21:02:06 +02:00
Enbiya Olgun
7690f2cae1 FollowSystemThemeButton rearrangement
Show the FollowSystemThemeButton always on first positon, whether ON or OFF.

Before, the FollowSystemThemeButton was on first position if it was ON and in second position if it was OFF (DarkModeButton took the first position)
2025-04-28 18:52:20 +02:00
Enbiya Olgun
2446756552 moved super() call of initState to top of method 2025-04-22 04:57:52 +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
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
Moustapha Kodjo Amadou
a0df094504 refactor: improve download button logic and clean up code 2025-04-01 17:15:54 +01: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
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
Schnitzel5
3b2e6f9fcc fixed archive bug 2025-03-26 23:46:42 +01:00
Schnitzel5
17c18bd79a added follow system theme 2025-03-24 21:33:01 +01:00
Schnitzel5
2bc96d46df some fixes 2025-03-14 22:42:57 +01:00
Schnitzel5
4e44208b65 added support for Neko backup 2025-03-14 16:01:15 +01:00
Schnitzel5
05a72d4971 added support for Aniyomi backup 2025-03-14 15:54:48 +01:00
Schnitzel5
5f33769bc1 added mihon backup support 2025-03-14 00:41:45 +01:00
Schnitzel5
cc80ee3608 track preferences not cleared unless the backup contains oauth tokens 2025-03-12 15:57:27 +01:00
Schnitzel5
2a08115067 added support for Kotatsu backups 2025-03-11 23:34:02 +01:00
Moustapha Kodjo Amadou
fde0f3dd92 fix 2025-03-10 11:05:03 +01:00
Schnitzel5
301220a6a4 added default subtitle lang + statistics screen 2025-03-10 00:02:06 +01:00
Moustapha Kodjo Amadou
5905480392 improve category 2025-03-09 14:59:24 +01:00
Moustapha Kodjo Amadou
5329f37809 + 2025-03-09 12:26:36 +01:00
Moustapha Kodjo Amadou
80425a4cfe improve 2025-03-09 12:24:19 +01:00
Moustapha Kodjo Amadou
2eb4545082 refactor: replace ListView with SuperListView across multiple widgets 2025-03-09 12:02:38 +01:00
Schnitzel5
b1636ad710 added chapter preview to migration 2025-03-02 21:21:17 +01:00
Schnitzel5
17128cccbd added options to migrate sources and clean the database 2025-03-02 01:22:41 +01:00
Moustapha Kodjo Amadou
3e401c8af2 dart format 2025-02-23 15:31:49 +01:00
Schnitzel5
dec2968921 optimized sync for library update 2025-02-15 17:30:38 +01:00
Schnitzel5
80bdfe7ee7 adjusted button positions 2025-02-14 21:52:34 +01:00
Schnitzel5
52eb0a903b sync bot toasts are more concise 2025-02-14 15:51:19 +01:00
Schnitzel5
7b00d0f7e4 finished snapshots and added auto sync 2025-02-13 23:41:26 +01:00
Schnitzel5
815ccbc19a + 2025-02-13 15:54:45 +01:00
Schnitzel5
00229ef5d0 enhanced sync feature 2025-02-12 23:59:39 +01:00
Schnitzel5
aa946c9d51 enhanced sync feature 2025-02-12 19:13:16 +01:00
Moustapha Kodjo Amadou
8384bcad51 co-written with @Schnitzel5 : update source fetching methods to utilize repositories 2025-02-12 11:04:46 +01:00
Moustapha Kodjo Amadou
6e886a6276 refactor 2025-01-30 17:34:41 +01:00
Moustapha Kodjo Amadou
00b2e5fa31 improve custom navigation settings 2025-01-30 15:51:17 +01:00
Moustapha Kodjo Amadou
3eeb4777a6 feat: improve chapter download 2025-01-30 15:09:47 +01:00
Moustapha Kodjo Amadou
3353a85b0a
Merge pull request #375 from Schnitzel5/fix/restore-broken-categories
added conversion forManga to itemType when restoring
2025-01-29 19:44:17 +01:00
Schnitzel5
082fd455e3 added conversion forManga to itemType when restoring 2025-01-27 22:37:30 +01:00
Schnitzel5
83c5356359 fixed restore not refreshing navigation 2025-01-25 21:50:14 +01:00
Schnitzel5
cccf4b65cd reversed the switch to be more clear if the navigation is toggled 2025-01-25 21:32:18 +01:00
Schnitzel5
235db734d2 allow user to reorder and toggle each navigation item 2025-01-25 21:15:36 +01:00
Schnitzel5
7bc3061485 + 2025-01-24 00:25:11 +01:00
Moustapha Kodjo Amadou
c4b153f60c refactor: replace Container with Badge for item count display and move hide items in appearance settings 2025-01-17 17:57:43 +01:00
Schnitzel5
380bea2249 Merge branch 'main' into novel/font-size 2025-01-01 00:35:43 +01:00
kodjomoustapha
7cf5614bb5 refactor: rename backup and restore to data and storage, update related imports and UI elements 2024-12-31 09:47:28 +01:00