showTokenTimeIssueDialog function

Future<TokenErrorAction?> showTokenTimeIssueDialog({
  1. required BuildContext context,
  2. bool includeRetryAction = true,
})

Show a TokenTimeIssueDialog, which explains that a token issue occurred due to the user's incorrect device clock.

Returns the user's chosen action, or null if no action was chosen.

Implementation

Future<TokenErrorAction?> showTokenTimeIssueDialog({
  required BuildContext context,
  bool includeRetryAction = true,
}) =>
    showDialog(
      context: context,
      builder: (context) => TokenTimeIssueDialog(
        includeRetryAction: includeRetryAction,
      ),
    );