diff --git a/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java b/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java index c6beffe6..9f2c0d71 100644 --- a/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java @@ -62,12 +62,12 @@ public class SftpPlugin extends Plugin implements SharedPreferences.OnSharedPref } @Override - public boolean checkOptionalPermissions() { + public boolean checkRequiredPermissions() { return SftpSettingsFragment.getStorageInfoList(context, this).size() != 0; } @Override - public AlertDialogFragment getOptionalPermissionExplanationDialog() { + public AlertDialogFragment getPermissionExplanationDialog() { return new DeviceSettingsAlertDialogFragment.Builder() .setTitle(getDisplayName()) .setMessage(R.string.sftp_saf_permission_explanation)