feat: remove unused import and clean up emergency contact info banner widget

This commit is contained in:
Achintha Isuru
2026-03-10 23:54:38 -04:00
parent e60413f45c
commit 2071585158
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,6 @@
import 'package:design_system/design_system.dart'; import 'package:design_system/design_system.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import '../ui_constants.dart';
/// A customizable notice banner widget for displaying informational messages. /// A customizable notice banner widget for displaying informational messages.
/// ///
/// [UiNoticeBanner] displays a message with an optional icon and supports /// [UiNoticeBanner] displays a message with an optional icon and supports

View File

@@ -7,7 +7,9 @@ class EmergencyContactInfoBanner extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return UiNoticeBanner( return UiNoticeBanner(
title: icon: UiIcons.warning,
title: 'Emergency Contact Information',
description:
'Please provide at least one emergency contact. This information will only be used in case of an emergency during your shifts.', 'Please provide at least one emergency contact. This information will only be used in case of an emergency during your shifts.',
); );
} }