|
|
@ -804,8 +804,7 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener {
|
|
|
|
loadItem(intent);
|
|
|
|
loadItem(intent);
|
|
|
|
|
|
|
|
|
|
|
|
synchronized (controls) {
|
|
|
|
synchronized (controls) {
|
|
|
|
if (!(ActFmPreferenceService.isPremiumUser() || FileMetadata.taskHasAttachments(model.getId()))) {
|
|
|
|
if (!FileMetadata.taskHasAttachments(model.getId()) || !ActFmPreferenceService.isPremiumUser()) {
|
|
|
|
controls.remove(filesControlSet);
|
|
|
|
|
|
|
|
filesControlSet.getDisplayView().setVisibility(View.GONE);
|
|
|
|
filesControlSet.getDisplayView().setVisibility(View.GONE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (TaskEditControlSet controlSet : controls)
|
|
|
|
for (TaskEditControlSet controlSet : controls)
|
|
|
@ -1111,6 +1110,7 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener {
|
|
|
|
metadataService.save(fileMetadata);
|
|
|
|
metadataService.save(fileMetadata);
|
|
|
|
actFmSyncService.pushAttachmentInBackground(fileMetadata);
|
|
|
|
actFmSyncService.pushAttachmentInBackground(fileMetadata);
|
|
|
|
filesControlSet.refreshMetadata();
|
|
|
|
filesControlSet.refreshMetadata();
|
|
|
|
|
|
|
|
filesControlSet.getDisplayView().setVisibility(View.VISIBLE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|