mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
fix wrong condition
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
35533e1264
commit
7014ad133a
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ object MDMConfig {
|
|||
|
||||
val shareViaLink = context.resources.getBoolean(R.bool.share_via_link_feature)
|
||||
|
||||
return shareViaLink && disableShareViaMDM
|
||||
return shareViaLink && !disableShareViaMDM
|
||||
}
|
||||
|
||||
fun shareViaUser(context: Context): Boolean {
|
||||
|
@ -44,7 +44,7 @@ object MDMConfig {
|
|||
|
||||
val shareViaUsers = context.resources.getBoolean(R.bool.share_with_users_feature)
|
||||
|
||||
return shareViaUsers && disableShareViaMDM
|
||||
return shareViaUsers && !disableShareViaMDM
|
||||
}
|
||||
|
||||
fun sendFilesSupport(context: Context): Boolean {
|
||||
|
|
Loading…
Reference in a new issue