mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Remove old/unused code from click handler
This commit is contained in:
parent
33d12e4169
commit
0ced8746af
@ -503,15 +503,8 @@ public class MessageViewFragment extends Fragment implements OnClickListener,
|
||||
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
switch (view.getId()) {
|
||||
case R.id.download: {
|
||||
((AttachmentView)view).saveFile();
|
||||
break;
|
||||
}
|
||||
case R.id.download_remainder: {
|
||||
onDownloadRemainder();
|
||||
break;
|
||||
}
|
||||
if (view.getId() == R.id.download_remainder) {
|
||||
onDownloadRemainder();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user