Skip to content

Commit 12c1557

Browse files
cleanup demo
1 parent fa703e0 commit 12c1557

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

demos/supabase-todolist/lib/powersync.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,7 @@ Future<void> openDatabase() async {
171171
// If the user is already logged in, connect immediately.
172172
// Otherwise, connect once logged in.
173173
currentConnector = SupabaseConnector();
174-
db.connect(
175-
connector: currentConnector,
176-
options: const SyncOptions(
177-
syncImplementation: SyncClientImplementation.rust,
178-
appMetadata: {'app_version': '1.0.1'}));
174+
db.connect(connector: currentConnector, options: options);
179175
}
180176

181177
Supabase.instance.client.auth.onAuthStateChange.listen((data) async {

0 commit comments

Comments
 (0)