From 54d8d3f6f8d97f15976f6a3d14e6d31116777df5 Mon Sep 17 00:00:00 2001 From: cmt1910 Date: Thu, 11 Jan 2024 23:28:58 +0900 Subject: [PATCH 1/2] =?UTF-8?q?several=5Faccount=5Fsettings=5Fpage?= =?UTF-8?q?=E3=81=AB=E3=82=A2=E3=82=A4=E3=82=B3=E3=83=B3=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../several_account_settings_page.dart | 34 ++++++++++++------- 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/lib/view/several_account_settings_page/several_account_settings_page.dart b/lib/view/several_account_settings_page/several_account_settings_page.dart index 0deefeb34..dc6ef46fa 100644 --- a/lib/view/several_account_settings_page/several_account_settings_page.dart +++ b/lib/view/several_account_settings_page/several_account_settings_page.dart @@ -13,48 +13,58 @@ class SeveralAccountSettingsPage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: - AppBar(title: Text("${account.i.name ?? account.i.username} の設定")), + appBar: AppBar(title: Text("${account.i.name ?? account.i.username} の設定")), body: ListView( children: [ ListTile( onTap: () { - context.pushRoute( - SeveralAccountGeneralSettingsRoute(account: account)); + context.pushRoute(SeveralAccountGeneralSettingsRoute(account: account)); }, title: const Text("全般設定"), + leading: const Icon(Icons.settings), + trailing: const Icon(Icons.chevron_right), ), ListTile( - onTap: () { - context.pushRoute(ReactionDeckRoute(account: account)); - }, - title: const Text("リアクションデッキ")), + onTap: () { + context.pushRoute(ReactionDeckRoute(account: account)); + }, + title: const Text("リアクションデッキ"), + // ハートのアイコン + leading: const Icon(Icons.favorite), + trailing: const Icon(Icons.chevron_right), + ), // ListTile(onTap: () {}, title: const Text("ソフトミュート")), ListTile( onTap: () { - context.pushRoute( - WordMuteRoute(account: account, muteType: MuteType.soft)); + context.pushRoute(WordMuteRoute(account: account, muteType: MuteType.soft)); }, title: const Text("ワードミュート"), + leading: const Icon(Icons.volume_off), + trailing: const Icon(Icons.chevron_right), ), ListTile( onTap: () { - context.pushRoute( - WordMuteRoute(account: account, muteType: MuteType.hard)); + context.pushRoute(WordMuteRoute(account: account, muteType: MuteType.hard)); }, title: const Text("ハードワードミュート"), + leading: const Icon(Icons.volume_off), + trailing: const Icon(Icons.chevron_right), ), ListTile( onTap: () { context.pushRoute(InstanceMuteRoute(account: account)); }, title: const Text("インスタンスミュート"), + leading: const Icon(Icons.volume_off), + trailing: const Icon(Icons.chevron_right), ), ListTile( onTap: () { context.pushRoute(CacheManagementRoute(account: account)); }, title: const Text("キャッシュ設定"), + leading: const Icon(Icons.cached), + trailing: const Icon(Icons.chevron_right), ) ], ), From 6c6c2ed09bca5ca423944915cd2cc9d7a503f768 Mon Sep 17 00:00:00 2001 From: cmt1910 Date: Fri, 12 Jan 2024 01:57:20 +0900 Subject: [PATCH 2/2] =?UTF-8?q?leading=E3=81=AE=E3=82=A2=E3=82=A4=E3=82=B3?= =?UTF-8?q?=E3=83=B3=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../several_account_settings_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/view/several_account_settings_page/several_account_settings_page.dart b/lib/view/several_account_settings_page/several_account_settings_page.dart index dc6ef46fa..dfa9a7a45 100644 --- a/lib/view/several_account_settings_page/several_account_settings_page.dart +++ b/lib/view/several_account_settings_page/several_account_settings_page.dart @@ -39,7 +39,7 @@ class SeveralAccountSettingsPage extends StatelessWidget { context.pushRoute(WordMuteRoute(account: account, muteType: MuteType.soft)); }, title: const Text("ワードミュート"), - leading: const Icon(Icons.volume_off), + leading: const Icon(Icons.comments_disabled), trailing: const Icon(Icons.chevron_right), ), ListTile( @@ -47,7 +47,7 @@ class SeveralAccountSettingsPage extends StatelessWidget { context.pushRoute(WordMuteRoute(account: account, muteType: MuteType.hard)); }, title: const Text("ハードワードミュート"), - leading: const Icon(Icons.volume_off), + leading: const Icon(Icons.comments_disabled), trailing: const Icon(Icons.chevron_right), ), ListTile( @@ -55,7 +55,7 @@ class SeveralAccountSettingsPage extends StatelessWidget { context.pushRoute(InstanceMuteRoute(account: account)); }, title: const Text("インスタンスミュート"), - leading: const Icon(Icons.volume_off), + leading: const Icon(Icons.visibility_off), trailing: const Icon(Icons.chevron_right), ), ListTile(