Skip to content

Commit

Permalink
Fix firebase instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
akhil99 committed Sep 21, 2016
1 parent 8af0175 commit ca94e75
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scout/src/main/java/com/mvrt/scout/LocalDataFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca94e75

Please sign in to comment.