theme share icon

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2018-02-06 11:16:14 +00:00
parent 8a5a6ce9b0
commit e327e6a7c0
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -294,6 +294,7 @@ public class FileDetailFragment extends FileFragment implements OnClickListener,
}
item = menu.findItem(R.id.action_send_share_file);
ThemeUtils.tintDrawable(item.getIcon(), ThemeUtils.fontColor());
item.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM);
if(getFile().isSharedWithMe() && !getFile().canReshare()){