Remove unused makeAlert() code
This commit is contained in:
parent
670fb7e0a6
commit
3786af992c
@ -31,22 +31,6 @@ void main() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void makeAlert(BuildContext context, String title, String message) {
|
|
||||||
showDialog<String>(
|
|
||||||
context: context,
|
|
||||||
builder: (BuildContext context) => AlertDialog(
|
|
||||||
title: Text(title),
|
|
||||||
content: Text(message),
|
|
||||||
actions: <Widget>[
|
|
||||||
TextButton(
|
|
||||||
onPressed: () => Navigator.pop(context, 'OK'),
|
|
||||||
child: const Text('OK'),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
Future<OpenSSHEd25519KeyPair> generateKeyPair() async {
|
Future<OpenSSHEd25519KeyPair> generateKeyPair() async {
|
||||||
final algorithm = Ed25519();
|
final algorithm = Ed25519();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user