Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ class MyApp extends StatelessWidget {

return MaterialApp(
title: 'NoteKeeper',
debugShowCheckedModeBanner: false,

theme: ThemeData(
primarySwatch: Colors.deepPurple
),
home: NoteList(),
);
}
}
}
6 changes: 4 additions & 2 deletions lib/screens/note_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class NoteListState extends State<NoteList> {

appBar: AppBar(
title: Text('Notes'),
centerTitle: false,
titleSpacing: 0.0,
),

body: getNoteListView(),
Expand Down Expand Up @@ -82,7 +84,7 @@ class NoteListState extends State<NoteList> {

onTap: () {
debugPrint("ListTile Tapped");
navigateToDetail(this.noteList[position],'Edit Note');
navigateToDetail(this.noteList[position],'Edit');
},

),
Expand Down Expand Up @@ -125,7 +127,7 @@ class NoteListState extends State<NoteList> {

int result = await databaseHelper.deleteNote(note.id);
if (result != 0) {
_showSnackBar(context, 'Note Deleted Successfully');
_showSnackBar(context, '1 Note Deleted Successfully');
updateListView();
}
}
Expand Down