Skip to content

Commit

Permalink
サインアウト時にアプリが終了するように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
higedamc committed Nov 8, 2021
1 parent 55f21c6 commit 4a28a0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/auth/apple_auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AppleAuthUtil {
}
}

// TODO: サインインがうまくいくか (Firebaseに反映されるか) 検証する
// TODO: サインインがうまくいくか (Firebaseに反映されるか) 実機で検証する
static Future<UserCredential> signInWithApple(BuildContext context) async {
final _auth = FirebaseAuth.instance;
final _user = _auth.currentUser;
Expand Down
4 changes: 2 additions & 2 deletions lib/pages/setting_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ class SettingPage extends StatelessWidget {
context: context,
builder: (context) {
return AlertDialog(
title: Text('確認'),
title: Text('自動的にアプリが終了します'),
content: Text('サインアウトしますか?'),
actions: <Widget>[
TextButton(
onPressed: () => Navigator.pop(context),
onPressed: () => SystemNavigator.pop(),
child: Text('Cancel')),
TextButton(
onPressed: () async {
Expand Down

0 comments on commit 4a28a0d

Please sign in to comment.