mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -6,10 +6,5 @@ enum UpPanelPosition {
|
||||
}
|
||||
|
||||
extension UpPanelPositionDesc on UpPanelPosition {
|
||||
String get values => ['left_fixed', 'right_fixed', 'left_drawer', 'right_drawer'][index];
|
||||
String get labels => ['左侧常驻','右侧常驻','左侧抽屉','右侧抽屉'][index];
|
||||
}
|
||||
|
||||
extension UpPanelPositionCode on UpPanelPosition {
|
||||
int get code => [0, 1, 2, 3][index];
|
||||
String get labels => ['左侧常驻', '右侧常驻', '左侧抽屉', '右侧抽屉'][index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user