fix:UI
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_remix/flutter_remix.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:shadcn_ui/shadcn_ui.dart';
|
||||
@@ -202,9 +203,8 @@ class ProfilePage extends ConsumerWidget {
|
||||
),
|
||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
||||
SettingRow(
|
||||
icon: Icons.privacy_tip_outlined,
|
||||
title: '隐私政策 · 用户协议',
|
||||
trailing: null,
|
||||
icon: FlutterRemix.file_list_3_line,
|
||||
title: '用户协议',
|
||||
onTap: () => launchUrlString(
|
||||
AppH5UrlsHelper.withCacheBuster(
|
||||
AppH5Urls.userProtocolUrl,
|
||||
@@ -213,9 +213,18 @@ class ProfilePage extends ConsumerWidget {
|
||||
),
|
||||
),
|
||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
||||
SettingRow(
|
||||
icon: FlutterRemix.shield_check_line,
|
||||
title: '隐私政策',
|
||||
onTap: () => launchUrlString(
|
||||
AppH5UrlsHelper.withCacheBuster(AppH5Urls.privacyUrl),
|
||||
mode: LaunchMode.inAppBrowserView,
|
||||
),
|
||||
),
|
||||
const PrototypeDivider(margin: EdgeInsets.zero),
|
||||
SettingRow(
|
||||
icon: Icons.info_outline,
|
||||
title: '免责声明 · 数据来源',
|
||||
title: '免责声明',
|
||||
trailing: null,
|
||||
onTap: () => _showDisclaimer(context),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user