This commit is contained in:
lollipopkit
2023-03-18 00:09:24 +08:00
parent 350d248776
commit 3f3240040a
14 changed files with 27 additions and 14 deletions

View File

@@ -431,6 +431,7 @@ class _SettingPageState extends State<SettingPage> {
error: (error, trace) => Text('${_s.error}: $error'),
noData: Text(_s.nullToken),
success: (text) {
_pushToken = text;
if (_pushToken == null) {
text = _s.nullToken;
}