Skip to content

Commit

Permalink
fix: Correct the class name used for custom storage (#825)
Browse files Browse the repository at this point in the history
* fix: Correct the class name used for custom storage

* change class name
  • Loading branch information
dshukertjr committed Feb 7, 2024
1 parent 26885c2 commit a721662
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/supabase_flutter/README.md
Expand Up @@ -379,7 +379,7 @@ However, you can use any other methods by creating a `LocalStorage` implementati

```dart
// Define the custom LocalStorage implementation
class MockLocalStorage extends LocalStorage {
class MySecureStorage extends LocalStorage {
final storage = FlutterSecureStorage();
Expand Down Expand Up @@ -411,7 +411,7 @@ class MockLocalStorage extends LocalStorage {
Supabase.initialize(
...
authOptions: FlutterAuthClientOptions(
localStorage: const EmptyLocalStorage(),
localStorage: MySecureStorage(),
),
);
```
Expand Down

0 comments on commit a721662

Please sign in to comment.