mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-20 09:20:13 +08:00
switch live stream/format/codec/url support
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -64,4 +64,8 @@ extension ListExt<T> on List<T> {
|
||||
if (index < 0 || index >= length) return null;
|
||||
return this[index];
|
||||
}
|
||||
|
||||
T getOrFirst(int index) {
|
||||
return getOrNull(index) ?? first;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user