Skip to content

Commit

Permalink
チャンネルページでisArchivedを明確に表示するように
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Nov 10, 2024
1 parent 47cefb3 commit 2af2092
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/l10n/app_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
}
}
},
"thisChannelIsArchived": "このチャンネルはアーカイブされています",
"favorited": "お気に入り中",
"willFavorite": "お気に入りに入れるで",
"willFollow": "フォローするで",
Expand Down
10 changes: 9 additions & 1 deletion lib/view/channels_page/channel_detail_info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,15 @@ class ChannelDetailArea extends ConsumerWidget {
),
),
),
const Padding(padding: EdgeInsets.only(top: 10)),
const Padding(padding: EdgeInsets.only(top: 5)),
if (channel.isArchived)
Card(
child: Padding(
padding: const EdgeInsets.all(10),
child: Text(S.of(context).thisChannelIsArchived),
),
),
const Padding(padding: EdgeInsets.only(top: 5)),
Align(
alignment: Alignment.centerRight,
child: Wrap(
Expand Down

0 comments on commit 2af2092

Please sign in to comment.