Merge pull request #6253 from nextcloud/noNothingIfNoActivity

PreviewImageFragment: if we have no activity, do nothing
This commit is contained in:
Andy Scherzinger 2020-06-26 11:13:58 +02:00 committed by GitHub
commit 93d0875883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View file

@ -750,10 +750,6 @@ public class PreviewImageFragment extends FileFragment implements Injectable {
}
}
).show();
} else {
Snackbar.make(mMultiListContainer,
R.string.resized_image_not_possible,
Snackbar.LENGTH_INDEFINITE).show();
}
} catch (IllegalArgumentException e) {
Log_OC.d(TAG, e.getMessage());

View file

@ -642,7 +642,6 @@
<string name="sync_in_progress">Fetching most recent version of the file.</string>
<string name="date_unknown">Unknown</string>
<string name="resized_image_not_possible">No resized image available.</string>
<string name="resized_image_not_possible_download">No resized image available. Download full image?</string>
<string name="store_short_desc">The self-hosted productivity platform that keeps you in control</string>