diff options
author | Tom Hennen <tom.hennen@gmail.com> | 2016-01-25 16:49:35 -0500 |
---|---|---|
committer | Tom Hennen <tom.hennen@gmail.com> | 2016-01-25 16:49:35 -0500 |
commit | 193fc7adee2c1b91d9ccdf6c6848b3b156cd2540 (patch) | |
tree | 4c750577d4826e1ffb3cc786240db62aa51eaf51 /app | |
parent | 747aa2f0e01c4a3b2ecdf8fbc6cad57ac390bcb4 (diff) | |
download | AntennaPod-193fc7adee2c1b91d9ccdf6c6848b3b156cd2540.zip |
update layout, remove unneeded call
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java | 1 | ||||
-rw-r--r-- | app/src/main/res/layout/feedinfo.xml | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java index 3679b5eca..4869a855c 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/FeedInfoActivity.java @@ -177,7 +177,6 @@ public class FeedInfoActivity extends ActionBarActivity { feed, checked); dialog.createNewDialog().show(); }); - cbxGlobalRefresh.setEnabled(true); cbxGlobalRefresh.setChecked(prefs.getGlobalRefresh()); cbxGlobalRefresh.setOnCheckedChangeListener((compoundButton, checked) -> { feed.getPreferences().setGlobalRefresh(checked); diff --git a/app/src/main/res/layout/feedinfo.xml b/app/src/main/res/layout/feedinfo.xml index 37f6e1b42..d4a928968 100644 --- a/app/src/main/res/layout/feedinfo.xml +++ b/app/src/main/res/layout/feedinfo.xml @@ -187,10 +187,10 @@ android:layout_height="wrap_content" android:layout_marginTop="8dp" android:text="@string/global_refresh" - android:enabled="false" + android:enabled="true" android:textColor="?android:attr/textColorPrimary" tools:background="@android:color/holo_red_light" - android:checked="false" /> + android:checked="true" /> <TextView android:id="@+id/txtvAuthentication" |