remove unused notes button

This commit is contained in:
Kima 2024-03-12 22:59:51 +01:00
parent 1b16e0ffd4
commit c5a564a4cd

View File

@ -257,7 +257,7 @@ class SettingsScreenState extends State<SettingsScreen>
Row( Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
Row( const Row(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
children: [ children: [
// IconButton( // IconButton(
@ -270,22 +270,22 @@ class SettingsScreenState extends State<SettingsScreen>
// const SizedBox( // const SizedBox(
// width: 5, // width: 5,
// ), // ),
const SizedBox( // const SizedBox(
width: 5.0, // width: 5.0,
), // ),
IconButton( // IconButton(
splashRadius: 32.0, // splashRadius: 32.0,
// onPressed: () async => await databaseProvider.userStore // // onPressed: () async => await databaseProvider.userStore
// .storeSelfNotes([], userId: user.id!), // // .storeSelfNotes([], userId: user.id!),
onPressed: () async => _openNotes( // onPressed: () async => _openNotes(
context, // context,
await databaseProvider.userQuery // await databaseProvider.userQuery
.toDoItems(userId: user.id!), // .toDoItems(userId: user.id!),
), // ),
// _showBottomSheet(user.getUser(user.id ?? "")), // // _showBottomSheet(user.getUser(user.id ?? "")),
icon: Icon(FeatherIcons.fileText, // icon: Icon(FeatherIcons.fileText,
color: AppColors.of(context).text.withOpacity(0.8)), // color: AppColors.of(context).text.withOpacity(0.8)),
), // ),
], ],
), ),
Row( Row(