|
|
|
@ -30,6 +30,7 @@ class SettingPage extends StatelessWidget { |
|
|
|
cells: [ |
|
|
|
TDCell( |
|
|
|
arrow: false, |
|
|
|
height: 60.h, |
|
|
|
title: '允许中间邀请弹窗', |
|
|
|
rightIconWidget: TDSwitch(isOn: false,trackOnColor: const Color.fromRGBO(117, 98, 249, 1),onChanged: (bool e) { |
|
|
|
return false; |
|
|
|
@ -37,6 +38,7 @@ class SettingPage extends StatelessWidget { |
|
|
|
), |
|
|
|
TDCell( |
|
|
|
arrow: false, |
|
|
|
height: 60.h, |
|
|
|
title: '后台播放', |
|
|
|
rightIconWidget: TDSwitch( |
|
|
|
isOn: true, |
|
|
|
@ -48,6 +50,7 @@ class SettingPage extends StatelessWidget { |
|
|
|
), |
|
|
|
TDCell( |
|
|
|
arrow: false, |
|
|
|
height: 60.h, |
|
|
|
title: '语音/视频通话提示音', |
|
|
|
rightIconWidget: TDSwitch(isOn: false,trackOnColor: const Color.fromRGBO(117, 98, 249, 1),onChanged: (bool e) { |
|
|
|
|
|
|
|
@ -60,10 +63,10 @@ class SettingPage extends StatelessWidget { |
|
|
|
TDCellGroup( |
|
|
|
theme: TDCellGroupTheme.cardTheme, |
|
|
|
cells: [ |
|
|
|
TDCell(arrow: true, title: '安全中心', onClick: (cell) { |
|
|
|
TDCell(arrow: true, height: 60.h, title: '安全中心', onClick: (cell) { |
|
|
|
print('安全中心'); |
|
|
|
}), |
|
|
|
TDCell(arrow: true, title: '黑名单', onClick: (cell) { |
|
|
|
TDCell(arrow: true, height: 60.h, title: '黑名单', onClick: (cell) { |
|
|
|
Get.to(() => BlacklistPage()); |
|
|
|
}), |
|
|
|
], |
|
|
|
@ -72,13 +75,13 @@ class SettingPage extends StatelessWidget { |
|
|
|
TDCellGroup( |
|
|
|
theme: TDCellGroupTheme.cardTheme, |
|
|
|
cells: [ |
|
|
|
TDCell(arrow: true, title: '系统权限管理'), |
|
|
|
TDCell(arrow: true, title: '消息通知', onClick: (cell) { |
|
|
|
TDCell(arrow: true, height: 60.h, title: '系统权限管理'), |
|
|
|
TDCell(arrow: true, height: 60.h, title: '消息通知', onClick: (cell) { |
|
|
|
Get.to(() => NoticePage()); |
|
|
|
}), |
|
|
|
TDCell(arrow: true, title: '检查更新', onClick: (cell) { |
|
|
|
TDCell(arrow: true, height: 60.h, title: '检查更新', onClick: (cell) { |
|
|
|
// _showUpdateDialog(); |
|
|
|
controller.checkVersion(); |
|
|
|
controller.checkVersion(); |
|
|
|
}, |
|
|
|
noteWidget: Text('当前版本:${controller.version.value}',style: TextStyle(fontSize: 13.w,color: const Color.fromRGBO(117, 98, 249, 1))), |
|
|
|
) |
|
|
|
|