mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12: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
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
switch (view.getId()) {
|
if (view.getId() == R.id.download_remainder) {
|
||||||
case R.id.download: {
|
|
||||||
((AttachmentView)view).saveFile();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case R.id.download_remainder: {
|
|
||||||
onDownloadRemainder();
|
onDownloadRemainder();
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user