사용자 화면 문구·표본 데이터 · 퀘스트 참여 흐름 · HOME 진입 구획 · 미니맵 · 공통 확인 창 배치 수정
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../core/ui/app_dialog.dart';
|
||||
|
||||
import '../../core/firebase/firebase_boot.dart';
|
||||
import '../../core/i18n/app_locale.dart';
|
||||
import '../../core/theme/tokens.dart';
|
||||
@@ -232,23 +234,11 @@ class _SimpleLoginScreenState extends State<SimpleLoginScreen> {
|
||||
|
||||
Future<void> _showNotConfigured(AuthNotConfigured outcome) async {
|
||||
final name = outcome.provider.shortName;
|
||||
await showDialog<void>(
|
||||
context: context,
|
||||
builder: (context) => AlertDialog(
|
||||
title: Text(context.l10n.authNotConfiguredTitle(name)),
|
||||
content: Text(
|
||||
context.l10n.authNotConfiguredBody(
|
||||
name,
|
||||
outcome.missing.join('\n· '),
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
child: Text(context.l10n.commonConfirm),
|
||||
),
|
||||
],
|
||||
),
|
||||
await showAlertDialog(
|
||||
context,
|
||||
context.l10n.authNotConfiguredTitle(name),
|
||||
// 설정 항목(outcome.missing)은 개발자용이라 화면에 내보내지 않는다.
|
||||
body: context.l10n.authNotConfiguredBody(name),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -381,11 +371,8 @@ String? authNotice(AuthOutcome outcome, [AppLocalizations? l10n]) =>
|
||||
AuthSucceeded() => null,
|
||||
AuthCancelled() => null,
|
||||
AuthFailed(:final code, :final message) => '[$code] $message',
|
||||
AuthNotConfigured(:final provider, :final missing) =>
|
||||
(l10n ?? koL10n).authNotConfiguredNotice(
|
||||
provider.shortName,
|
||||
missing.join(' · '),
|
||||
),
|
||||
AuthNotConfigured(:final provider) =>
|
||||
(l10n ?? koL10n).authNotConfiguredNotice(provider.shortName),
|
||||
};
|
||||
|
||||
TextStyle _abz(double size, Color color) => TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user