mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
FileDisplayActivity: Added missing Preference check.
This commit is contained in:
parent
6e2d9d2a24
commit
239df11525
1 changed files with 2 additions and 1 deletions
|
@ -288,7 +288,8 @@ public class FileDisplayActivity extends HookActivity
|
|||
*/
|
||||
private void upgradeNotificationForInstantUpload() {
|
||||
// check for Android 6+ if legacy instant upload is activated --> disable + show info
|
||||
if (PreferenceManager.instantPictureUploadEnabled(this)) {
|
||||
if (PreferenceManager.instantPictureUploadEnabled(this) ||
|
||||
PreferenceManager.instantVideoUploadEnabled(this)) {
|
||||
|
||||
// remove legacy shared preferences
|
||||
SharedPreferences.Editor editor = PreferenceManager.getDefaultSharedPreferences(this).edit();
|
||||
|
|
Loading…
Reference in a new issue