Native rewrite #878

Merged
akinwale merged 65 commits from native-rewrite into master 2020-05-23 08:49:00 +02:00
3 changed files with 13 additions and 4 deletions
Showing only changes of commit b51db6439b - Show all commits

View file

@ -448,7 +448,7 @@ public class ClaimListAdapter extends RecyclerView.Adapter<ClaimListAdapter.View
Helper.formatBytes(claimFile.getTotalBytes(), false));
}
Helper.setViewText(vh.fileSizeView, fileSizeString);
Helper.setViewText(vh.fileSizeView, claimFile != null && !Helper.isNullOrEmpty(claimFile.getDownloadPath()) ? fileSizeString : null);
Helper.setViewVisibility(vh.downloadProgressView, isDownloading ? View.VISIBLE : View.INVISIBLE);
Helper.setViewProgress(vh.downloadProgressView, progress);
Helper.setViewText(vh.deviceView, item.getDevice());

View file

@ -101,18 +101,21 @@
android:clickable="true"
android:focusable="true"
android:layout_alignParentBottom="true"
android:layout_width="64dp"
android:layout_width="56dp"
android:layout_height="48dp"
android:layout_toLeftOf="@id/player_toggle_fullscreen">
<TextView
android:id="@+id/player_playback_speed_label"
android:layout_centerInParent="true"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dp"
android:fontFamily="@font/inter"
android:letterSpacing="0.05"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="14sp" />
android:textSize="11sp" />
</RelativeLayout>
<RelativeLayout

View file

@ -63,6 +63,12 @@
android:layout_gravity="center_vertical"
android:textColor="@color/white"
android:text="@string/fa_coins" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:fontFamily="@font/inter"
android:textSize="14sp" />
<TextView
android:id="@+id/floating_balance_value"
android:layout_width="wrap_content"