Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

앱 v1.0.6 릴리즈 #2868

Merged
merged 1 commit into from
Dec 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions apps/mobile/lib/screens/identification.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class IdentificationScreen extends StatelessWidget {
child: GraphQLOperation(
operation: GIdentificationScreen_QueryReq(),
builder: (context, client, data) {
final identified = data.me?.personalIdentity != null;
final identified = data.me?.personalIdentity != null &&
Jiffy.parse(data.me!.personalIdentity!.expiresAt!.value).isAfter(Jiffy.now());

return Padding(
padding: const Pad(horizontal: 20, top: 20, bottom: 16),
Expand All @@ -48,7 +49,7 @@ class IdentificationScreen extends StatelessWidget {
'- 본인인증을 통해 연령제한 콘텐츠를 이용할 수 있어요.\n',
style: TextStyle(fontSize: 12, color: BrandColors.gray_500),
),
if (identified && Jiffy.parse(data.me!.personalIdentity!.expiresAt!.value).isAfter(Jiffy.now())) ...[
if (identified) ...[
const Gap(24),
Container(
width: double.infinity,
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: glyph
description: Glyph mobile app
publish_to: none
version: '1.0.5'
version: '1.0.6'

environment:
sdk: '>=3.4.0 <4.0.0'
Expand Down
Loading