Skip to content

Commit

Permalink
앱 v1.0.6 릴리즈 (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
devunt committed Dec 22, 2024
1 parent e0c60eb commit be216ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
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

0 comments on commit be216ab

Please sign in to comment.