Skip to content

Commit

Permalink
fix: write nfc
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeanyimhenry committed Jul 31, 2024
1 parent 3bb08f6 commit 9c48fbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/presentation/screens/home.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:nfc_app/presentation/screens/history/history_screen.dart';
import 'package:nfc_app/presentation/screens/settings/settings_screen.dart';
import 'package:nfc_app/presentation/screens/write-nfc/write_nfc_screen.dart';
import 'package:nfc_app/presentation/screens/write-nfc/text_record_screen.dart';
import 'package:nfc_app/presentation/widgets/app_bottom_nav.dart';
import 'package:provider/provider.dart';

Expand All @@ -12,7 +12,7 @@ class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});
final List<Widget> _screens = const [
ReadNFCScreen(),
WriteNFCScreen(),
TextRecordScreen(),
HistoryScreen(),
SettingsScreen(),
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:nfc_app/constants/app_colors.dart';
import 'package:nfc_app/constants/app_spacing.dart';
import 'package:nfc_app/presentation/screens/write-nfc/add_record_screen.dart';
import 'package:nfc_app/presentation/screens/write-nfc/old/add_record_screen.dart';
import 'package:nfc_app/presentation/widgets/app_buttons.dart';
import 'package:nfc_manager/nfc_manager.dart';

Expand All @@ -17,7 +17,6 @@ class _WriteNFCScreenState extends State<WriteNFCScreen> {
bool nfcEnabled = true;
@override
void initState() {

super.initState();
NfcManager.instance.isAvailable().then((c) {
setState(() {
Expand Down

0 comments on commit 9c48fbb

Please sign in to comment.