Skip to content

Commit

Permalink
minor formattings
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyScherzinger committed Aug 2, 2016
1 parent 0faa786 commit 98f9b94
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 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

0 comments on commit 98f9b94

Please sign in to comment.