|
|
|
@ -419,29 +419,29 @@ class SettingsView extends GetView<SettingsController> { |
|
|
|
isDarkMode: isDarkMode, |
|
|
|
), |
|
|
|
// if (Platform.isAndroid) ...[ |
|
|
|
Divider( |
|
|
|
height: 1, |
|
|
|
color: isDarkMode |
|
|
|
? Colors.white.withOpacity(0.1) |
|
|
|
: Colors.grey[200]), |
|
|
|
// Divider( |
|
|
|
// height: 1, |
|
|
|
// color: isDarkMode |
|
|
|
// ? Colors.white.withOpacity(0.1) |
|
|
|
// : Colors.grey[200]), |
|
|
|
|
|
|
|
// 隐私设置 |
|
|
|
_buildSimpleNavigationSetting( |
|
|
|
title: 'privacySettings'.tr, // 隐私设置 |
|
|
|
subtitle: 'privacySettingsInfo'.tr, // 管理数据收集和权限 |
|
|
|
icon: Icons.shield_outlined, |
|
|
|
iconBgColor: isDarkMode |
|
|
|
? Colors.purple[900]!.withOpacity(0.3) |
|
|
|
: Colors.purple[100]!, |
|
|
|
iconColor: |
|
|
|
isDarkMode ? Colors.purple[300]! : Colors.purple[600]!, |
|
|
|
titleColor: isDarkMode ? Colors.white : null, |
|
|
|
subtitleColor: isDarkMode ? Colors.white70 : null, |
|
|
|
onTap: () { |
|
|
|
AppSettings.openAppSettings(); |
|
|
|
}, |
|
|
|
isDarkMode: isDarkMode, |
|
|
|
), |
|
|
|
// // 隐私设置 |
|
|
|
// _buildSimpleNavigationSetting( |
|
|
|
// title: 'privacySettings'.tr, // 隐私设置 |
|
|
|
// subtitle: 'privacySettingsInfo'.tr, // 管理数据收集和权限 |
|
|
|
// icon: Icons.shield_outlined, |
|
|
|
// iconBgColor: isDarkMode |
|
|
|
// ? Colors.purple[900]!.withOpacity(0.3) |
|
|
|
// : Colors.purple[100]!, |
|
|
|
// iconColor: |
|
|
|
// isDarkMode ? Colors.purple[300]! : Colors.purple[600]!, |
|
|
|
// titleColor: isDarkMode ? Colors.white : null, |
|
|
|
// subtitleColor: isDarkMode ? Colors.white70 : null, |
|
|
|
// onTap: () { |
|
|
|
// AppSettings.openAppSettings(); |
|
|
|
// }, |
|
|
|
// isDarkMode: isDarkMode, |
|
|
|
// ), |
|
|
|
// ], |
|
|
|
|
|
|
|
Divider( |
|
|
|
|