Skip to content

Commit

Permalink
fix: clipboard insert
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrijkotov634 committed Jul 22, 2021
1 parent 6cad9e0 commit b70949b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/dm/bomber/ui/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public void onClick(View view) {

@Override
public void onWindowFocusChanged(boolean hasFocus) {
if (attackManager.hasAttack() && binding.phoneNumber.getText().toString().isEmpty())
if (attackManager.hasAttack() || !binding.phoneNumber.getText().toString().isEmpty())
return;

ClipboardManager clipboard = (ClipboardManager) getSystemService(CLIPBOARD_SERVICE);
Expand Down

0 comments on commit b70949b

Please sign in to comment.