refactor: Remove unnecessary toast notifications and improve code formatting

This commit is contained in:
Janez T
2025-10-23 19:36:24 +02:00
parent 200e506df8
commit d64c78542b
4 changed files with 76 additions and 115 deletions

View File

@@ -195,16 +195,6 @@ class _HomeScreenState extends State<HomeScreen>
// Send flood advertisement
await connectionProvider.sendSelfAdvert(floodMode: true);
if (context.mounted) {
ToastLogger.success(
context,
AppLocalizations.of(context)!.advertisedAtLocation(
position.latitude.toStringAsFixed(6),
position.longitude.toStringAsFixed(6),
),
);
}
} catch (e) {
debugPrint('❌ Failed to advertise device: $e');
if (context.mounted) {