Commit a307eb5a authored by Edward Wang's avatar Edward Wang
Browse files

DebugLogActivity: fix indent problem

parent 1a95364a
......@@ -81,9 +81,8 @@ public class DebugLogActivity extends Activity {
updateTextView(instance);
Button copyToClipboard = (Button)findViewById(R.id.copy_to_clipboard);
if(((TextView)findViewById(R.id.textview)).getText().length() > 0)
copyToClipboard.setEnabled(true);
copyToClipboard.setOnClickListener(new View.OnClickListener() {
copyToClipboard.setEnabled(((TextView)findViewById(R.id.textview)).getText().length() > 0);
copyToClipboard.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
copyTextToClipboard();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment