Color fix and fix of small bug.
This commit is contained in:
parent
2266bd1c40
commit
c2f61a852a
2 changed files with 1 additions and 6 deletions
|
@ -192,11 +192,6 @@ public class LiveUpdatesFragment extends Fragment {
|
|||
|
||||
view.setOnClickListener(null);
|
||||
|
||||
TypedValue typedValue = new TypedValue();
|
||||
Resources.Theme theme = ctx.getTheme();
|
||||
theme.resolveAttribute(R.attr.ctx_menu_info_view_bg, typedValue, true);
|
||||
view.setBackgroundColor(typedValue.data);
|
||||
|
||||
SwitchCompat liveUpdatesSwitch = (SwitchCompat) view.findViewById(R.id.liveUpdatesSwitch);
|
||||
View topShadowView = view.findViewById(R.id.bottomShadowView);
|
||||
if (groupPosition == SHOULD_UPDATE_GROUP_POSITION) {
|
||||
|
|
|
@ -89,7 +89,7 @@ public class PerformLiveUpdateAsyncTask
|
|||
boolean downloadViaWiFi =
|
||||
LiveUpdatesHelper.preferenceDownloadViaWiFi(localIndexInfo, settings).get();
|
||||
if (getMyApplication().getSettings().isInternetConnectionAvailable()) {
|
||||
if (settings.isWifiConnected() || downloadViaWiFi) {
|
||||
if (settings.isWifiConnected() || !downloadViaWiFi) {
|
||||
long szLong = 0;
|
||||
int i = 0;
|
||||
for (IndexItem es : downloadThread.getCurrentDownloadingItems()) {
|
||||
|
|
Loading…
Reference in a new issue