Merge pull request #3781 from ByteHamster/fix-subscription-not-updating
Fix subscription screen not updating
This commit is contained in:
commit
04dd39021c
@ -304,12 +304,12 @@ public class SubscriptionFragment extends Fragment {
|
||||
dialog.createNewDialog().show();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
public void onFeedListChanged(FeedListUpdateEvent event) {
|
||||
loadSubscriptions();
|
||||
}
|
||||
|
||||
@Subscribe
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
public void onUnreadItemsChanged(UnreadItemsUpdateEvent event) {
|
||||
loadSubscriptions();
|
||||
}
|
||||
|
@ -37,6 +37,7 @@
|
||||
android:layout_toLeftOf="@id/horizontal_divider"
|
||||
android:layout_toStartOf="@id/horizontal_divider"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:text="@string/cancel_label" />
|
||||
|
||||
<Button
|
||||
@ -50,6 +51,7 @@
|
||||
android:layout_toRightOf="@id/horizontal_divider"
|
||||
android:layout_toEndOf="@id/horizontal_divider"
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:text="@string/confirm_label" />
|
||||
</RelativeLayout>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user