mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Don't display a toast after pairing has completed
This commit is contained in:
parent
7c39e5c974
commit
d08eeb8a2d
@ -324,7 +324,8 @@ public class PcView extends Activity {
|
|||||||
message = getResources().getString(R.string.pair_fail);
|
message = getResources().getString(R.string.pair_fail);
|
||||||
}
|
}
|
||||||
else if (pairState == PairingManager.PairState.PAIRED) {
|
else if (pairState == PairingManager.PairState.PAIRED) {
|
||||||
message = getResources().getString(R.string.pair_success);
|
// Just navigate to the app view without displaying a toast
|
||||||
|
message = null;
|
||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
<string name="pair_pairing_msg">Please enter the following PIN on the target PC:</string>
|
<string name="pair_pairing_msg">Please enter the following PIN on the target PC:</string>
|
||||||
<string name="pair_incorrect_pin">Incorrect PIN</string>
|
<string name="pair_incorrect_pin">Incorrect PIN</string>
|
||||||
<string name="pair_fail">Pairing failed</string>
|
<string name="pair_fail">Pairing failed</string>
|
||||||
<string name="pair_success">Paired successfully</string>
|
|
||||||
|
|
||||||
<!-- WOL messages -->
|
<!-- WOL messages -->
|
||||||
<string name="wol_pc_online">Computer is online</string>
|
<string name="wol_pc_online">Computer is online</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user