can manually refresh when updateInterval==0

This commit is contained in:
Junyuan Feng
2021-12-31 17:44:17 +08:00
parent de1e970108
commit f7558d6beb
9 changed files with 82 additions and 46 deletions

View File

@@ -113,7 +113,8 @@ class _SettingPageState extends State<SettingPage> {
height: 3,
),
_intervalValue == 0.0
? const Text('You set to 0, will not update automatically.')
? const Text('You set to 0, will not update automatically.\nYou can pull to refresh manually.',
style: TextStyle(color: Colors.grey), textAlign: TextAlign.center,)
: const SizedBox(),
const SizedBox(
height: 13,