Skip to content

Commit

Permalink
Merge pull request #92 from aipictors/#89
Browse files Browse the repository at this point in the history
update: ModalFollowUserListTileのアイコンと文言を変更
  • Loading branch information
Stella2211 authored Oct 1, 2023
2 parents cfd5714 + 873466b commit 1a8ca5d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 11 deletions.
58 changes: 52 additions & 6 deletions assets/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
"fr": "",
"vi": ""
},
{
"ja": "あなたのシリーズ",
Expand Down Expand Up @@ -320,7 +321,8 @@
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
"fr": "",
"vi": ""
},
{
"ja": "イベント",
Expand Down Expand Up @@ -625,7 +627,8 @@
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
"fr": "",
"vi": ""
},
{
"ja": "スパム",
Expand Down Expand Up @@ -1087,6 +1090,14 @@
"kr": "사용자 ID",
"vi": ""
},
{
"ja": "ユーザのフォローを解除する",
"en": "",
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
},
{
"ja": "ユーザの報告",
"en": "Report User",
Expand Down Expand Up @@ -1286,7 +1297,8 @@
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
"fr": "",
"vi": ""
},
{
"ja": "ログインしました",
Expand Down Expand Up @@ -1423,7 +1435,8 @@
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
"fr": "",
"vi": ""
},
{
"ja": "今日",
Expand Down Expand Up @@ -1504,6 +1517,14 @@
"fr": "",
"vi": ""
},
{
"ja": "次月",
"en": "",
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
},
{
"ja": "女性",
"en": "",
Expand All @@ -1519,7 +1540,8 @@
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
"fr": "",
"vi": ""
},
{
"ja": "新しいバージョンのアプリが存在します。ストアからアップデートすることができます。",
Expand Down Expand Up @@ -1696,6 +1718,30 @@
"fr": "Notifications",
"kr": "알림"
},
{
"ja": "通知を受け取る",
"en": "",
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
},
{
"ja": "通知を受け取るかどうかを設定します。",
"en": "",
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
},
{
"ja": "通知設定",
"en": "",
"zh_cn": "",
"zh_tw": "",
"it": "",
"fr": ""
},
{
"ja": "同意する",
"en": "Agree",
Expand Down
9 changes: 4 additions & 5 deletions lib/widgets/list_tile/modal_follow_user_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ class ModalFollowUserListTile extends HookConsumerWidget {
final state = useState(isActive);

return ListTile(
leading: Icon(
Icons.favorite_rounded,
color: state.value ? Theme.of(context).colorScheme.error : null,
),
leading: state.value
? const Icon(Icons.person_remove)
: const Icon(Icons.person_add),
title: Text(
state.value ? 'ユーザをフォロー中'.i18n : 'ユーザをフォローする'.i18n,
state.value ? 'ユーザのフォローを解除する'.i18n : 'ユーザをフォローする'.i18n,
style: const TextStyle(fontWeight: FontWeight.bold),
),
onTap: () async {
Expand Down

0 comments on commit 1a8ca5d

Please sign in to comment.