Skip to content

Commit

Permalink
fnished the project we ll be adding a readme
Browse files Browse the repository at this point in the history
  • Loading branch information
akram09 committed Oct 27, 2019
1 parent 866cf96 commit 4aef9ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Social-Blind
a social app for the devfest19 hackathon
a social chat app for the devfest19 hackathon
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class DiscussionRepository(private val sharedPreferences: SharedPreferences) {
return databaseReference.child(DISCUSSION_ROOT).child(currentDiscussion).child(MESSAGES).push().submitMessage(text, userId)
}
private fun getUserId():String{
return sharedPreferences.getString(UID ,"anonymous_00")!!
return sharedPreferences.getString(UID ,"anonymous_01")!!
}
private fun getCurrentDiscussionId():String{
return sharedPreferences.getString(CURRENT_DISSC , "0")!!
Expand Down Expand Up @@ -254,7 +254,7 @@ class DiscussionRepository(private val sharedPreferences: SharedPreferences) {
}
}
fun getOtherUserId():String{
return sharedPreferences.getString(OTHER_USER_ID, "anonymous_01")!!
return sharedPreferences.getString(OTHER_USER_ID, "anonymous_00")!!
}

}
Expand Down

0 comments on commit 4aef9ac

Please sign in to comment.