diff --git a/app/src/main/java/com/example/pmhealthcare/Activities/MainActivity.java b/app/src/main/java/com/example/pmhealthcare/Activities/MainActivity.java index a546767..f1df285 100644 --- a/app/src/main/java/com/example/pmhealthcare/Activities/MainActivity.java +++ b/app/src/main/java/com/example/pmhealthcare/Activities/MainActivity.java @@ -46,7 +46,7 @@ protected void onCreate(Bundle savedInstanceState) { } /**====================================== METHOD FOR TRIGGERING FIREBASE AUTH ===================================**/ - public void AUTH() { + private void AUTH() { Intent intent = Firebase.LoadFirebaseAUTHUI(); if (intent != null) @@ -66,7 +66,7 @@ protected void onActivityResult(int requestCode, int resultCode, @Nullable Inten public void InitFragments() { - FirebaseFirestore.getInstance().setFirestoreSettings(new FirebaseFirestoreSettings.Builder().setPersistenceEnabled(true).build()); + FirebaseFirestore.getInstance().setFirestoreSettings(new FirebaseFirestoreSettings.Builder().setPersistenceEnabled(false).build()); bottomNavigationView.setOnItemSelectedListener(new NavigationBarView.OnItemSelectedListener() { @Override