Figma 설명 프레임 반영 — 로그인·온보딩·스플래시 · HOME · GALAXY · 퀘스트·이클립스·알림
This commit is contained in:
@@ -148,7 +148,8 @@ class _PlanetDetailScreenState extends State<PlanetDetailScreen> {
|
||||
actions: [
|
||||
IconButton(
|
||||
tooltip: context.l10n.commonMore,
|
||||
onPressed: () => _showMore(context, d.name),
|
||||
onPressed: () =>
|
||||
_showMore(context, d.name, mine: d.isOwner),
|
||||
icon: const ImageIcon(
|
||||
AppIcons.ellipsisVertical,
|
||||
size: 24,
|
||||
@@ -169,6 +170,7 @@ class _PlanetDetailScreenState extends State<PlanetDetailScreen> {
|
||||
ownerName: d.ownerName,
|
||||
ownerPhoto: d.ownerPhoto,
|
||||
joined: d.joined,
|
||||
isOwner: d.isOwner,
|
||||
onJoin: d.joined ? _leave : _join,
|
||||
onOpenHistory: () => Navigator.of(context).push(
|
||||
MaterialPageRoute<void>(
|
||||
@@ -209,7 +211,9 @@ class _PlanetDetailScreenState extends State<PlanetDetailScreen> {
|
||||
},
|
||||
);
|
||||
|
||||
void _showMore(BuildContext context, String name) =>
|
||||
/// Figma `543:19721` — 더보기: (타인 행성) 신고/차단 · (내 행성) 편집. 편집은 행성 사용자 커스텀이라
|
||||
/// 두지 않는다(원장 C-50 「생성 후 사용자가 외형을 바꾸는 진입점 0건」). 내 행성에는 신고 · 차단도 없다.
|
||||
void _showMore(BuildContext context, String name, {required bool mine}) =>
|
||||
showActionSheet(context, [
|
||||
// 팬덤 역사는 시안 밖 기능이라 남기되 중립색으로 둔다.
|
||||
ActionSheetItem(context.l10n.planetPassportHistory, () {
|
||||
@@ -222,14 +226,16 @@ class _PlanetDetailScreenState extends State<PlanetDetailScreen> {
|
||||
),
|
||||
);
|
||||
}, destructive: false),
|
||||
ActionSheetItem(
|
||||
context.l10n.reportTitle,
|
||||
() => _moderate(context, 'report', name),
|
||||
),
|
||||
ActionSheetItem(
|
||||
context.l10n.commonBlockAction,
|
||||
() => _moderate(context, 'block', name),
|
||||
),
|
||||
if (!mine) ...[
|
||||
ActionSheetItem(
|
||||
context.l10n.reportTitle,
|
||||
() => _moderate(context, 'report', name),
|
||||
),
|
||||
ActionSheetItem(
|
||||
context.l10n.commonBlockAction,
|
||||
() => _moderate(context, 'block', name),
|
||||
),
|
||||
],
|
||||
]);
|
||||
|
||||
Future<void> _moderate(
|
||||
@@ -459,6 +465,7 @@ class _FpiTab extends StatelessWidget {
|
||||
EclipseBanner(
|
||||
repository: eclipse,
|
||||
fandomId: detail.fandomId,
|
||||
nebula: detail.isNebula,
|
||||
margin: const EdgeInsets.only(bottom: AppSpace.s3),
|
||||
),
|
||||
Container(
|
||||
|
||||
Reference in New Issue
Block a user