Skip to content

Commit e469210

Browse files
author
tangyueyang
committed
Add 夜间模式
1 parent c137ca2 commit e469210

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/pages/general_settings/general_settings.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ class GeneralSettings extends StatelessWidget {
1717
color: Colors.white,
1818
child: SingleChildScrollView(
1919
child: Column(children: <Widget>[
20+
ListTile(
21+
title: Text('夜间模式', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),),
22+
trailing: Switch(value: true, activeColor: Colors.red, onChanged: (status) {}),
23+
),
2024
ListTile(
2125
title: Text('消息推送设置', style: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),),
2226
trailing: Icon(Icons.navigate_next),

0 commit comments

Comments
 (0)