Native rewrite #878
2 changed files with 3 additions and 3 deletions
|
@ -418,14 +418,14 @@ public class InvitesFragment extends BaseFragment implements SdkStatusListener,
|
||||||
inviteHistoryAdapter.addInvitees(invitees);
|
inviteHistoryAdapter.addInvitees(invitees);
|
||||||
}
|
}
|
||||||
Helper.setViewVisibility(inviteHistoryList,
|
Helper.setViewVisibility(inviteHistoryList,
|
||||||
inviteHistoryAdapter == null || inviteHistoryAdapter.getItemCount() == 0 ? View.GONE : View.VISIBLE
|
inviteHistoryAdapter == null || inviteHistoryAdapter.getItemCount() < 2 ? View.GONE : View.VISIBLE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Exception error) {
|
public void onError(Exception error) {
|
||||||
Helper.setViewVisibility(inviteHistoryList,
|
Helper.setViewVisibility(inviteHistoryList,
|
||||||
inviteHistoryAdapter == null || inviteHistoryAdapter.getItemCount() == 0 ? View.GONE : View.VISIBLE
|
inviteHistoryAdapter == null || inviteHistoryAdapter.getItemCount() < 2 ? View.GONE : View.VISIBLE
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<!-- At some point, these colours have to be renamed -->
|
<!-- At some point, these colours have to be renamed -->
|
||||||
<color name="darkForeground">#EEEEEE</color>
|
<color name="darkForeground">#EEEEEE</color>
|
||||||
<color name="lightForeground">#555555</color>
|
<color name="lightForeground">#757575</color>
|
||||||
<color name="foreground">#999999</color>
|
<color name="foreground">#999999</color>
|
||||||
<color name="mediaContainerBackground">#333333</color>
|
<color name="mediaContainerBackground">#333333</color>
|
||||||
<color name="borderTextArea">#5F5F5F</color>
|
<color name="borderTextArea">#5F5F5F</color>
|
||||||
|
|
Loading…
Reference in a new issue