Merge pull request #3781 from ByteHamster/fix-subscription-not-updating

Fix subscription screen not updating
This commit is contained in:
H. Lehmann 2020-01-25 22:23:05 +01:00 committed by GitHub
commit 04dd39021c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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();
}

View File

@ -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>