Skip to content
Snippets Groups Projects
Commit b1ff9398 authored by Leon Tappe's avatar Leon Tappe :fire:
Browse files

clean up warnings

parent c10641f9
Branches master
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ import 'package:astaprint_admin/widgets/info_tile.dart';
import 'package:blocs_astaprint/auth.dart';
import 'package:blocs_astaprint/print_queue.dart';
import 'package:blocs_astaprint/printers.dart';
import 'package:clipboard/clipboard.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:http/http.dart' as http;
......
......@@ -27,6 +27,6 @@ class InfoTile extends StatelessWidget {
void _onCopyData(BuildContext context) async {
await FlutterClipboard.copy(data);
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Wert für ${(title as Text).data} in die Zwischenablage kopiert')));
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Wert für ${title.data} in die Zwischenablage kopiert')));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment