mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-03-22 00:24:16 +00:00
Compare commits
6 Commits
5b9a1cf275
...
2d4c33b94c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d4c33b94c | ||
|
|
0ac949dc1b | ||
|
|
42e954428b | ||
|
|
8c1337d1fc | ||
|
|
94e704087f | ||
|
|
8e287ab1e5 |
1
android/app/proguard-rules.pro
vendored
1
android/app/proguard-rules.pro
vendored
@ -27,6 +27,7 @@
|
||||
-keep class org.schabi.newpipe.extractor.timeago.patterns.** { *; }
|
||||
-keep class org.mozilla.javascript.** { *; }
|
||||
-keep class org.mozilla.classfile.ClassFileWriter
|
||||
-dontwarn com.google.re2j.**
|
||||
-dontwarn org.mozilla.javascript.tools.**
|
||||
|
||||
-dontwarn javax.script.AbstractScriptEngine
|
||||
|
||||
@ -20,17 +20,20 @@ class HomeRecentlyPlayedSection extends HookConsumerWidget {
|
||||
return const SizedBox();
|
||||
}
|
||||
|
||||
final uniqueItems = <dynamic>{};
|
||||
final filteredItems = [
|
||||
for (final item in historyData)
|
||||
if (item.playlist != null && item.playlist?.id != null && uniqueItems.add(item.playlist!.id!))
|
||||
item.playlist
|
||||
else if (item.album != null && item.album?.id != null && uniqueItems.add(item.album?.id))
|
||||
item.album
|
||||
];
|
||||
|
||||
return Skeletonizer(
|
||||
enabled: history.isLoading,
|
||||
child: HorizontalPlaybuttonCardView(
|
||||
title: Text(context.l10n.recently_played),
|
||||
items: [
|
||||
for (final item in historyData)
|
||||
if (item.playlist != null)
|
||||
item.playlist
|
||||
else if (item.album != null)
|
||||
item.album
|
||||
],
|
||||
items: filteredItems,
|
||||
hasNextPage: false,
|
||||
isLoadingNextPage: false,
|
||||
onFetchMore: () {},
|
||||
|
||||
14
pubspec.lock
14
pubspec.lock
@ -745,11 +745,11 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
path: "."
|
||||
ref: master
|
||||
resolved-ref: "922f9f9eafd8b501da83dca67d56b2887fa8f916"
|
||||
url: "https://github.com/TiffApps/fk_user_agent.git"
|
||||
ref: HEAD
|
||||
resolved-ref: "458046cd9a88924e5074d96ba45397219d53b230"
|
||||
url: "https://github.com/maeltoukap/fk_user_agent.git"
|
||||
source: git
|
||||
version: "2.1.1"
|
||||
version: "2.1.0"
|
||||
fluentui_system_icons:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@ -946,9 +946,9 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: ab3ff415114b7b43593e6ee718ad3d760af18350
|
||||
ref: HEAD
|
||||
resolved-ref: ab3ff415114b7b43593e6ee718ad3d760af18350
|
||||
url: "https://github.com/KRTirtho/flutter_new_pipe_extractor.git"
|
||||
url: "https://github.com/KRTirtho/flutter_new_pipe_extractor"
|
||||
source: git
|
||||
version: "0.1.0"
|
||||
flutter_plugin_android_lifecycle:
|
||||
@ -1189,7 +1189,7 @@ packages:
|
||||
description:
|
||||
path: "."
|
||||
ref: main
|
||||
resolved-ref: "32828156bc111d147709f8d644804227bbdfe8f1"
|
||||
resolved-ref: d85dd429241d464a8b5b0c2b3d870143eeba8b46
|
||||
url: "https://github.com/KRTirtho/hetu_spotube_plugin.git"
|
||||
source: git
|
||||
version: "0.0.2"
|
||||
|
||||
@ -121,8 +121,7 @@ dependencies:
|
||||
ref: 4e5310e14af74bdbb51e2a4766e66d6c6a2562a8
|
||||
flutter_new_pipe_extractor:
|
||||
git:
|
||||
url: https://github.com/KRTirtho/flutter_new_pipe_extractor.git
|
||||
ref: ab3ff415114b7b43593e6ee718ad3d760af18350
|
||||
url: https://github.com/KRTirtho/flutter_new_pipe_extractor
|
||||
http_parser: ^4.1.2
|
||||
collection: any
|
||||
archive: ^4.0.7
|
||||
@ -240,6 +239,8 @@ flutter:
|
||||
- packages/hetu_std/assets/bytecode/std.out
|
||||
- packages/hetu_otp_util/assets/bytecode/otp_util.out
|
||||
- packages/hetu_spotube_plugin/assets/bytecode/spotube_plugin.out
|
||||
# NewPipe binaries (desktop only)
|
||||
- packages/flutter_new_pipe_extractor/assets/
|
||||
fonts:
|
||||
- family: RadixIcons
|
||||
fonts:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user