forked from baron/baron-sso
i18n 대대적 변경
This commit is contained in:
@@ -13,12 +13,6 @@ class ConsentScreen extends StatefulWidget {
|
||||
}
|
||||
|
||||
class _ConsentScreenState extends State<ConsentScreen> {
|
||||
static const _ink = Color(0xFF1A1F2C);
|
||||
static const _surface = Colors.white;
|
||||
static const _border = Color(0xFFE5E7EB);
|
||||
static const _subtle = Color(0xFFF7F8FA);
|
||||
static const _accent = Color(0xFF2563EB);
|
||||
|
||||
Map<String, dynamic>? _consentInfo;
|
||||
bool _isLoading = true;
|
||||
bool _isSubmitting = false;
|
||||
@@ -28,7 +22,7 @@ class _ConsentScreenState extends State<ConsentScreen> {
|
||||
final Set<String> _selectedScopes = {};
|
||||
|
||||
// 권한별 설명 매핑 (동적으로 업데이트됨)
|
||||
Map<String, String> _scopeDescriptions = {
|
||||
final Map<String, String> _scopeDescriptions = {
|
||||
'openid': 'OpenID 인증 정보 (로그인 상태 확인)',
|
||||
'profile': '기본 프로필 정보 (이름, 사용자 식별자)',
|
||||
'email': '이메일 주소 (계정 식별 및 알림 용도)',
|
||||
@@ -37,7 +31,7 @@ class _ConsentScreenState extends State<ConsentScreen> {
|
||||
};
|
||||
|
||||
// 필수 권한 목록 (동적으로 업데이트됨)
|
||||
Set<String> _mandatoryScopes = {'openid'};
|
||||
final Set<String> _mandatoryScopes = {'openid'};
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
@@ -333,7 +327,7 @@ class _ConsentScreenState extends State<ConsentScreen> {
|
||||
contentPadding: EdgeInsets.zero,
|
||||
activeColor: Theme.of(context).primaryColor,
|
||||
);
|
||||
}).toList(),
|
||||
}),
|
||||
const Divider(),
|
||||
const SizedBox(height: 32),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user