Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor formattings
  • Loading branch information
AndyScherzinger committed Sep 6, 2016
commit 8c53483f1e873a898dce06ccc234c7cab89ac080
12 changes: 3 additions & 9 deletions src/com/owncloud/android/ui/fragment/ShareFileFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -489,19 +489,16 @@ private void initEditPermissionListener(View shareView) {
* @param shareView Root view in the fragment.
*/
private void initHideFileListingListener(View shareView) {
mOnHideFileListingPermissionInteractionListener =
new OnHideFileListingPermissionInteractionListener();
mOnHideFileListingPermissionInteractionListener = new OnHideFileListingPermissionInteractionListener();

((SwitchCompat) shareView.findViewById(R.id.shareViaLinkHideListPermissionSwitch)).
setOnCheckedChangeListener(mOnHideFileListingPermissionInteractionListener);

}

/**
* Listener for user actions that start any update on the edit permissions for the public link.
*/
private class OnEditPermissionInteractionListener
implements CompoundButton.OnCheckedChangeListener {
private class OnEditPermissionInteractionListener implements CompoundButton.OnCheckedChangeListener {

/**
* Called by R.id.shareViaLinkEditPermissionSwitch to set or clear the edit permission.
Expand Down Expand Up @@ -535,8 +532,7 @@ public void onCheckedChanged(CompoundButton switchView, boolean isChecked) {
/**
* Listener for user actions that start any update on the hide file listing permissions for the public link.
*/
private class OnHideFileListingPermissionInteractionListener
implements CompoundButton.OnCheckedChangeListener {
private class OnHideFileListingPermissionInteractionListener implements CompoundButton.OnCheckedChangeListener {

/**
* Called by R.id.shareViaLinkHideListPermissionSwitch to set or clear the edit permission.
Expand Down Expand Up @@ -599,7 +595,6 @@ public void onDetach() {
mListener = null;
}


/**
* Get known server capabilities from DB
* <p/>
Expand All @@ -613,7 +608,6 @@ public void refreshCapabilitiesFromDB() {
}
}


/**
* Get users and groups from the DB to fill in the "share with" list.
* <p/>
Expand Down