Skip to content

Commit

Permalink
removed update password dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
peucastro committed Nov 6, 2024
1 parent cbc5840 commit df48c3c
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions packages/uni_app/lib/view/login/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import 'package:logger/logger.dart';
import 'package:provider/provider.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
import 'package:uni/app_links/uni_app_links.dart';
import 'package:uni/controller/networking/url_launcher.dart';
import 'package:uni/generated/l10n.dart';
import 'package:uni/model/providers/startup/session_provider.dart';
import 'package:uni/model/providers/state_providers.dart';
Expand Down Expand Up @@ -336,46 +335,4 @@ class LoginPageViewState extends State<LoginPageView>
},
);
}

void _updatePasswordDialog() {
showDialog<void>(
context: context,
builder: (context) {
return AlertDialog(
title: Text(S.of(context).expired_password),
content: Column(
mainAxisSize: MainAxisSize.min,
children: [
Text(
S.of(context).pass_change_request,
textAlign: TextAlign.start,
style: Theme.of(context).textTheme.titleSmall,
),
const SizedBox(height: 20),
Align(
alignment: Alignment.centerLeft,
child: Text(
S.of(context).change_prompt,
textAlign: TextAlign.start,
),
),
],
),
actions: [
TextButton(
child: Text(S.of(context).cancel),
onPressed: () {
Navigator.of(context).pop();
},
),
ElevatedButton(
child: Text(S.of(context).change),
onPressed: () =>
launchUrlWithToast(context, 'https://self-id.up.pt/password'),
),
],
);
},
);
}
}

0 comments on commit df48c3c

Please sign in to comment.