mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +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