Skip to content

Commit

Permalink
fix : Remove appended http string to show User review avatar.
Browse files Browse the repository at this point in the history
resolves : #5
  • Loading branch information
thesabareesh committed Apr 25, 2017
1 parent ed8e59f commit 1773669
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "me.sabareesh.trippie"
minSdkVersion 16
targetSdkVersion 24
versionCode 1_000_300
versionName "1.0.3"
versionCode 1_100_100
versionName "1.1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public void addReviews(final Extras extras) {
reviewAuthor.setText(extras.getReviewAtIndex(i).getAuthor());
reviewContent.setText(extras.getReviewAtIndex(i).getBody().replace("\n\n", " ").replace("\n", " "));
Log.d(TAG, "picasso url http:" + extras.getReviewAtIndex(i).getAvatar_url());
Picasso.with(this).load("http:" + extras.getReviewAtIndex(i).getAvatar_url())
Picasso.with(this).load(extras.getReviewAtIndex(i).getAvatar_url())
.placeholder(R.drawable.ic_account_circle_black_24dp)
.transform(new CircleTransform())
.fit()
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-v21/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<item name="windowNoTitle">true</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@color/colorPrimaryDark</item>

<item name="android:actionMenuTextColor">@color/colorPrimary</item>
<item name="android:windowContentTransitions">true</item>

</style>
Expand Down

0 comments on commit 1773669

Please sign in to comment.