Skip to content

Commit

Permalink
Fix image scaling; Add ordering for token endpoint (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmeissner authored Feb 15, 2019
1 parent 5bbe485 commit c85fee8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import retrofit2.http.GET


interface TokenServiceApi {
@GET("v1/tokens/?limit=1000&gas=true")
@GET("v1/tokens/?limit=1000&ordering=relevance,name&gas=true")
fun paymentTokens(): Single<PaginatedResults<TokenInfo>>

@GET("v1/tokens/?limit=1000")
@GET("v1/tokens/?limit=1000&ordering=relevance,name")
fun tokens(): Single<PaginatedResults<TokenInfo>>
}
1 change: 1 addition & 0 deletions app/src/main/res/layout/layout_manage_tokens_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
android:layout_marginBottom="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:scaleType="centerInside"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_tokens_item_balance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
android:layout_marginBottom="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:scaleType="center"
android:scaleType="centerInside"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand Down

0 comments on commit c85fee8

Please sign in to comment.