Compare commits

...

2 Commits

Author SHA1 Message Date
lemoer
7a757248c7 Remove unused imports and code 2025-07-06 14:57:42 +02:00
lemoer
3786af992c Remove unused makeAlert() code 2025-07-06 14:55:05 +02:00
2 changed files with 0 additions and 22 deletions

View File

@ -1,8 +1,6 @@
import 'dart:convert';
import 'dart:io';
import 'package:oauth2/oauth2.dart' as oauth2;
import 'package:url_launcher/url_launcher.dart';
Future<String> getSessionCookie(oauth2.Client client) async {
final response0 = await client.get(

View File

@ -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 {
final algorithm = Ed25519();
@ -193,10 +177,6 @@ class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
final String outputText = _output.isNotEmpty
? 'Output: $_output'
: 'Press the button to run a command.';
final authentikApiState = context
.watch<AuthentikUserSettingsChangeDialogState>();