Browse Source

Fixed #30 simply by adding the '/s' text (as is done in LocalTorrent). Maybe need to localize in the future.

pull/82/head
Eric Kok 11 years ago
parent
commit
aa96113142
  1. 4
      core/src/org/transdroid/core/gui/ServerStatusView.java
  2. 6
      core/src/org/transdroid/core/gui/TorrentsActivity.java

4
core/src/org/transdroid/core/gui/ServerStatusView.java

@ -84,8 +84,8 @@ public class ServerStatusView extends RelativeLayout implements OnRatesPickedLis @@ -84,8 +84,8 @@ public class ServerStatusView extends RelativeLayout implements OnRatesPickedLis
downcountText.setText(Integer.toString(downcount));
upcountText.setText(Integer.toString(upcount));
downspeedText.setText(FileSizeConverter.getSize(downspeed));
upspeedText.setText(FileSizeConverter.getSize(upspeed));
downspeedText.setText(FileSizeConverter.getSize(downspeed) + "/s");
upspeedText.setText(FileSizeConverter.getSize(upspeed) + "/s");
downcountSign.setVisibility(View.VISIBLE);
upcountSign.setVisibility(View.VISIBLE);
setClickListener(onStartDownPickerClicked);

6
core/src/org/transdroid/core/gui/TorrentsActivity.java

@ -45,14 +45,12 @@ import org.apache.http.impl.client.DefaultHttpClient; @@ -45,14 +45,12 @@ import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.impl.cookie.BasicClientCookie;
import org.transdroid.core.R;
import org.transdroid.core.app.settings.ApplicationSettings;
import org.transdroid.core.app.settings.ServerSetting;
import org.transdroid.core.app.settings.SystemSettings_;
import org.transdroid.core.app.settings.*;
import org.transdroid.core.app.settings.WebsearchSetting;
import org.transdroid.core.gui.lists.LocalTorrent;
import org.transdroid.core.gui.lists.NoProgressHeaderTransformer;
import org.transdroid.core.gui.lists.SimpleListItem;
import org.transdroid.core.gui.log.Log;
import org.transdroid.core.gui.log.Log_;
import org.transdroid.core.gui.log.*;
import org.transdroid.core.gui.navigation.FilterListAdapter;
import org.transdroid.core.gui.navigation.FilterListAdapter_;
import org.transdroid.core.gui.navigation.FilterListDropDownAdapter;

Loading…
Cancel
Save