Skip to content

Commit 7e097d4

Browse files
authored
Update README.md
1 parent ad5208f commit 7e097d4

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,10 @@ import io.p13i.glassnotes.datastores.localdisk.LocalDiskGlassNotesDataStore;
2222

2323

2424
public class Preferences {
25-
/**
26-
* Get and set your oauth token here...
27-
*/
28-
public final static String GITHUB_OAUTH_AUTH_HEADER = "Authorization: token <INSERT GITHUB TOKEN HERE>";
29-
3025
/**
3126
* How often to save notes to the specified data store, in milliseconds
3227
*/
33-
public final static int SAVE_PERIOD_MS = 10_000; // every 10 seconds
28+
public final static int SAVE_PERIOD_MS = 5000; // every 5 seconds
3429

3530
/**
3631
* Set as LocalDiskGlassNotesDataStore or GlassNotesGitHubAPIClient
@@ -39,8 +34,10 @@ public class Preferences {
3934
*/
4035
public static GlassNotesDataStore getUserPreferredDataStore(Context context) {
4136
return new LocalDiskGlassNotesDataStore(context);
42-
// return new GlassNotesGitHubAPIClient();
37+
// return new GlassNotesGitHubAPIClient("<<<INSERT GITHUB TOKEN FOR GIST ACCESS HERE>>>");
4338
}
4439
}
40+
41+
4542
```
4643
5. Deploy to your device

0 commit comments

Comments
 (0)