mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 19:46:47 +08:00
@@ -125,9 +125,8 @@ class _DanmakuBlockPageState extends State<DanmakuBlockPage> {
|
||||
initialValue: filter,
|
||||
onChanged: (value) => filter = value,
|
||||
keyboardType: isUid ? TextInputType.number : null,
|
||||
inputFormatters: isUid
|
||||
? [FilteringTextInputFormatter.allow(RegExp(r'\d+'))]
|
||||
: null,
|
||||
inputFormatters:
|
||||
isUid ? [FilteringTextInputFormatter.digitsOnly] : null,
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user