diff --git a/scout/src/main/java/com/mvrt/scout/LocalDataFragment.java b/scout/src/main/java/com/mvrt/scout/LocalDataFragment.java index 7400828e..4e6cfed0 100644 --- a/scout/src/main/java/com/mvrt/scout/LocalDataFragment.java +++ b/scout/src/main/java/com/mvrt/scout/LocalDataFragment.java @@ -47,8 +47,7 @@ public void onCreate(Bundle savedInstanceState){ } private void initFirebase(){ - FirebaseDatabase firebaseDatabase = FirebaseDatabase.getInstance(); - matchReference = firebaseDatabase.getReference("matches"); + matchReference = FirebaseUtils.getDatabase().getReference("matches"); } @Override