Skip to content

Commit 1e46213

Browse files
committed
Feat 1.0.0: Comment the dead code
1 parent 4cd83c9 commit 1e46213

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

lib/main.dart

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ class _HomeShellState extends State<HomeShell> {
123123

124124
@override
125125
Widget build(BuildContext context) {
126-
const isSyncMenuEnabled = false;
127-
128126
return Scaffold(
129127
appBar: AppBar(
130128
title: Text(
@@ -149,17 +147,17 @@ class _HomeShellState extends State<HomeShell> {
149147
],
150148
),
151149
),
152-
if (isSyncMenuEnabled)
153-
const PopupMenuItem(
154-
value: 'sync',
155-
child: Row(
156-
children: [
157-
Icon(Icons.cloud_outlined, size: 20),
158-
SizedBox(width: 8),
159-
Text('Backup & Sync'),
160-
],
161-
),
162-
),
150+
// TODO: Re-enable when Backup & Sync is ready
151+
// const PopupMenuItem(
152+
// value: 'sync',
153+
// child: Row(
154+
// children: [
155+
// Icon(Icons.cloud_outlined, size: 20),
156+
// SizedBox(width: 8),
157+
// Text('Backup & Sync'),
158+
// ],
159+
// ),
160+
// ),
163161
],
164162
),
165163
],

0 commit comments

Comments
 (0)