mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
feat: sync segment type with upstream (#1777)
* feat: sync segment type with upstream * update Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me> --------- Signed-off-by: Vixb <xzx8023@outlook.com> Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -114,8 +114,11 @@ abstract class Pref {
|
||||
}
|
||||
return SegmentType.values
|
||||
.map(
|
||||
(item) =>
|
||||
Pair(first: item, second: SkipType.values[list[item.index]]),
|
||||
(item) => Pair(
|
||||
first: item,
|
||||
second: SkipType
|
||||
.values[list.getOrNull(item.index) ?? SkipType.skipOnce.index],
|
||||
),
|
||||
)
|
||||
.toList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user