|
|
|
@ -7,6 +7,7 @@ import 'package:dating_touchme_app/pages/setting/deactivate_page.dart'; |
|
|
|
import 'package:dating_touchme_app/pages/setting/teenager_mode_page.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; |
|
|
|
import 'package:get/get.dart'; |
|
|
|
import 'package:permission_handler/permission_handler.dart'; |
|
|
|
import 'package:tdesign_flutter/tdesign_flutter.dart'; |
|
|
|
@ -62,7 +63,9 @@ class SettingPage extends StatelessWidget { |
|
|
|
TDCell(arrow: true, title: '黑名单', onClick: (cell) { |
|
|
|
Get.to(() => BlacklistPage()); |
|
|
|
}), |
|
|
|
TDCell(arrow: true, title: '隐私设置'), |
|
|
|
TDCell(arrow: true, title: '隐私设置', onClick: (cell) { |
|
|
|
SmartDialog.showToast('功能暂未开放'); |
|
|
|
},), |
|
|
|
TDCell(arrow: true, title: '青少年模式', onClick: (cell) { |
|
|
|
Get.to(() => TeenagerModePage()); |
|
|
|
},), |
|
|
|
@ -76,11 +79,14 @@ class SettingPage extends StatelessWidget { |
|
|
|
openAppSettings(); |
|
|
|
},), |
|
|
|
TDCell(arrow: true, title: '消息通知', onClick: (cell) { |
|
|
|
Get.to(() => NoticePage()); |
|
|
|
// Get.to(() => NoticePage()); |
|
|
|
|
|
|
|
openAppSettings(); |
|
|
|
}), |
|
|
|
TDCell(arrow: true, title: '检查更新', onClick: (cell) { |
|
|
|
// _showUpdateDialog(); |
|
|
|
controller.checkVersion(); |
|
|
|
// controller.checkVersion(); |
|
|
|
SmartDialog.showToast('功能暂未开放'); |
|
|
|
}, |
|
|
|
noteWidget: Text('当前版本:${controller.version.value}',style: TextStyle(fontSize: 13.w,color: const Color.fromRGBO(117, 98, 249, 1))), |
|
|
|
) |
|
|
|
|