Skip to content

Commit

Permalink
Changed clearing of text view
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwass committed Jul 8, 2016
1 parent b39f805 commit 8db1994
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public void onDismiss(DialogInterface dialog) {

public void startScanning() {
System.out.println("start scanning");
peripheralTextView.setText("");
startScanningButton.setVisibility(View.INVISIBLE);
stopScanningButton.setVisibility(View.VISIBLE);
AsyncTask.execute(new Runnable() {
Expand All @@ -139,7 +140,6 @@ public void run() {

public void stopScanning() {
System.out.println("stopping scanning");
peripheralTextView.setText("");
startScanningButton.setVisibility(View.VISIBLE);
stopScanningButton.setVisibility(View.INVISIBLE);
AsyncTask.execute(new Runnable() {
Expand Down

0 comments on commit 8db1994

Please sign in to comment.