From 59d37930600e6e9467545603be03155a3dc4496a Mon Sep 17 00:00:00 2001 From: Krille Date: Sat, 4 Feb 2023 18:51:17 +0100 Subject: [PATCH] chore: Follow up secrity settings design --- .../settings_security/settings_security_view.dart | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/lib/pages/settings_security/settings_security_view.dart b/lib/pages/settings_security/settings_security_view.dart index 539b9636..39521742 100644 --- a/lib/pages/settings_security/settings_security_view.dart +++ b/lib/pages/settings_security/settings_security_view.dart @@ -1,6 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:adaptive_dialog/adaptive_dialog.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:vrouter/vrouter.dart'; @@ -25,13 +24,13 @@ class SettingsSecurityView extends StatelessWidget { child: Column( children: [ ListTile( - leading: const Icon(Icons.panorama_fish_eye), + leading: const Icon(Icons.camera_outlined), trailing: const Icon(Icons.chevron_right_outlined), title: Text(L10n.of(context)!.whoCanSeeMyStories), onTap: () => VRouter.of(context).to('stories'), ), ListTile( - leading: const Icon(Icons.close), + leading: const Icon(Icons.block_outlined), trailing: const Icon(Icons.chevron_right_outlined), title: Text(L10n.of(context)!.ignoredUsers), onTap: () => VRouter.of(context).to('ignorelist'), @@ -61,14 +60,6 @@ class SettingsSecurityView extends StatelessWidget { ), ListTile( title: Text(L10n.of(context)!.yourPublicKey), - onTap: () => showOkAlertDialog( - useRootNavigator: false, - context: context, - title: L10n.of(context)!.yourPublicKey, - message: - Matrix.of(context).client.fingerprintKey.beautified, - okLabel: L10n.of(context)!.ok, - ), subtitle: Text( Matrix.of(context).client.fingerprintKey.beautified, style: const TextStyle(fontFamily: 'monospace'),