Native rewrite #878

Merged
akinwale merged 65 commits from native-rewrite into master 2020-05-23 08:49:00 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit d1faaa9362 - Show all commits

View file

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

View file

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