File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,10 @@ import io.p13i.glassnotes.datastores.localdisk.LocalDiskGlassNotesDataStore;
2222
2323
2424public 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```
46435 . Deploy to your device
You can’t perform that action at this time.
0 commit comments