fix wrong condition

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-11-05 12:40:32 +01:00 committed by Alper Öztürk
parent 35533e1264
commit 7014ad133a

View file

@ -33,7 +33,7 @@ object MDMConfig {
val shareViaLink = context.resources.getBoolean(R.bool.share_via_link_feature) val shareViaLink = context.resources.getBoolean(R.bool.share_via_link_feature)
return shareViaLink && disableShareViaMDM return shareViaLink && !disableShareViaMDM
} }
fun shareViaUser(context: Context): Boolean { fun shareViaUser(context: Context): Boolean {
@ -44,7 +44,7 @@ object MDMConfig {
val shareViaUsers = context.resources.getBoolean(R.bool.share_with_users_feature) val shareViaUsers = context.resources.getBoolean(R.bool.share_with_users_feature)
return shareViaUsers && disableShareViaMDM return shareViaUsers && !disableShareViaMDM
} }
fun sendFilesSupport(context: Context): Boolean { fun sendFilesSupport(context: Context): Boolean {