Compare commits

..

6 Commits

Author SHA1 Message Date
Guanciottaman
be5d2dddcb
Merge ff252d6b14 into 80626ba4b5 2026-06-12 09:39:23 -05:00
Kingkor Roy Tirtho
80626ba4b5
Merge branch 'master' into dev 2026-06-05 10:48:12 +06:00
Kingkor Roy Tirtho
b9b59835d9 chore: generate changelog and bump version for release 2026-06-05 10:46:06 +06:00
Kingkor Roy Tirtho
33e1f3bef5 fix: custom image helper null exception 2026-06-05 10:40:38 +06:00
Akshat-104
e1149537b1
fix: dismiss search dropdown and keyboard on submission
Co-authored-by: Tobse <1190109+TobseF@users.noreply.github.com>
2026-06-05 10:38:01 +06:00
Kingkor Roy Tirtho
2cc8d2620d
Dev (#2958)
* chore: replace windows app icon by a higher resolution (#2838)

Co-authored-by: Kingkor Roy Tirtho <krtirtho@gmail.com>

* fix: upgrade NewPipeExtractor to latest version fixinng playback issue

* cd: disable free disk space step

* chore: upgrade pubspec

* fix(android): build not working due to

* chore: remove package assets folder

* fix: lyrics not working

* chore: generate changelog

---------

Co-authored-by: Tobse <1190109+TobseF@users.noreply.github.com>
2026-02-24 18:48:07 +06:00
5 changed files with 1395 additions and 627 deletions

File diff suppressed because it is too large Load Diff

View File

@ -33,7 +33,8 @@ extension SpotubeImageExtensions on List<SpotubeImageObject>? {
int index = 1, int index = 1,
required ImagePlaceholder placeholder, required ImagePlaceholder placeholder,
}) { }) {
final sortedImage = this?.sorted((a, b) => (a.width ?? 0).compareTo(b.width ?? 0)); final sortedImage =
this?.sorted((a, b) => (a.width ?? 0).compareTo(b.width ?? 0));
return sortedImage != null && sortedImage.isNotEmpty return sortedImage != null && sortedImage.isNotEmpty
? sortedImage[ ? sortedImage[

View File

@ -59,6 +59,7 @@ class SearchPage extends HookConsumerWidget {
void onSubmitted(String value) { void onSubmitted(String value) {
ref.read(searchTermStateProvider.notifier).state = value; ref.read(searchTermStateProvider.notifier).state = value;
focusNode.unfocus();
if (value.trim().isEmpty) { if (value.trim().isEmpty) {
return; return;
} }
@ -127,25 +128,12 @@ class SearchPage extends HookConsumerWidget {
) )
.toList(); .toList();
return KeyboardListener( return AutoComplete(
focusNode: focusNode,
autofocus: true,
onKeyEvent: (value) {
final isEnter = value.logicalKey ==
LogicalKeyboardKey.enter;
if (isEnter) {
onSubmitted(controller.text);
focusNode.unfocus();
}
},
child: AutoComplete(
suggestions: suggestions.length <= 2 suggestions: suggestions.length <= 2
? [ ? [
...suggestions, ...suggestions,
"Twenty One Pilots", "Twenty One Pilots",
"Linkin Park", "Linkin Park",
"d4vd"
] ]
: suggestions, : suggestions,
completer: (suggestion) => suggestion, completer: (suggestion) => suggestion,
@ -153,6 +141,7 @@ class SearchPage extends HookConsumerWidget {
child: TextField( child: TextField(
autofocus: true, autofocus: true,
controller: controller, controller: controller,
focusNode: focusNode,
features: [ features: [
const InputFeature.leading( const InputFeature.leading(
Icon(SpotubeIcons.search), Icon(SpotubeIcons.search),
@ -167,8 +156,7 @@ class SearchPage extends HookConsumerWidget {
: CrossFadeState.showSecond, : CrossFadeState.showSecond,
firstChild: IconButton.ghost( firstChild: IconButton.ghost(
size: ButtonSize.small, size: ButtonSize.small,
icon: icon: const Icon(SpotubeIcons.close),
const Icon(SpotubeIcons.close),
onPressed: () { onPressed: () {
controller.clear(); controller.clear();
}, },
@ -182,7 +170,6 @@ class SearchPage extends HookConsumerWidget {
placeholder: Text(context.l10n.search), placeholder: Text(context.l10n.search),
onSubmitted: onSubmitted, onSubmitted: onSubmitted,
), ),
),
); );
}), }),
), ),

View File

@ -2376,26 +2376,26 @@ packages:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: test name: test
sha256: "65e29d831719be0591f7b3b1a32a3cda258ec98c58c7b25f7b84241bc31215bb" sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.26.2" version: "1.26.3"
test_api: test_api:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00" sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.6" version: "0.7.7"
test_core: test_core:
dependency: transitive dependency: transitive
description: description:
name: test_core name: test_core
sha256: "80bf5a02b60af04b09e14f6fe68b921aad119493e26e490deaca5993fef1b05a" sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.6.11" version: "0.6.12"
time: time:
dependency: transitive dependency: transitive
description: description:

View File

@ -3,7 +3,7 @@ description: Open source extensible music streaming platform and app, based on B
publish_to: "none" publish_to: "none"
version: 5.1.1+44 version: 5.1.2+45
homepage: https://spotube.krtirtho.dev homepage: https://spotube.krtirtho.dev
repository: https://github.com/KRTirtho/spotube repository: https://github.com/KRTirtho/spotube