diff --git a/app/src/main/java/com/iyxan23/sketch/collab/online/BrowseActivity.java b/app/src/main/java/com/iyxan23/sketch/collab/online/BrowseActivity.java index 9a09421..2c3974c 100644 --- a/app/src/main/java/com/iyxan23/sketch/collab/online/BrowseActivity.java +++ b/app/src/main/java/com/iyxan23/sketch/collab/online/BrowseActivity.java @@ -49,7 +49,7 @@ public class BrowseActivity extends AppCompatActivity { boolean is_at_bottom = false; // The project count that should be loaded - int project_count_should_be_loaded = 5; + int project_count_should_be_loaded = 100; // TEMP FIX, CURRENT PAGINATION IS BROKEN @Override protected void onCreate(@Nullable Bundle savedInstanceState) { diff --git a/app/src/main/java/com/iyxan23/sketch/collab/online/UploadActivity.java b/app/src/main/java/com/iyxan23/sketch/collab/online/UploadActivity.java index baf1467..b2d2866 100644 --- a/app/src/main/java/com/iyxan23/sketch/collab/online/UploadActivity.java +++ b/app/src/main/java/com/iyxan23/sketch/collab/online/UploadActivity.java @@ -161,7 +161,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { progressDialog.show(); DocumentReference projectRefDoc = projectRef.document(); - CollectionReference snapshotRef = projectRefDoc.collection("logic"); + CollectionReference snapshotRef = projectRefDoc.collection("snapshot"); CollectionReference commitRef = projectRefDoc.collection("commits"); // Upload the project metadata