Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

several_account_settings_pageにアイコンを追加 #534

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.comments_disabled),
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.comments_disabled),
trailing: const Icon(Icons.chevron_right),
),
ListTile(
onTap: () {
context.pushRoute(InstanceMuteRoute(account: account));
},
title: const Text("インスタンスミュート"),
leading: const Icon(Icons.visibility_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),
)
],
),
Expand Down