mirror of
https://framagit.org/tom79/fedilab-tube
synced 2025-02-16 12:00:42 +01:00
clean
This commit is contained in:
parent
73c9e639b6
commit
85ffb4064b
@ -749,9 +749,9 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
||||
chromeCast = chromeCasts.get(position);
|
||||
new Thread(() -> {
|
||||
if (chromeCast != null) {
|
||||
if (chromecastActivated) {
|
||||
Intent intentBC = new Intent(Helper.RECEIVE_CAST_SETTINGS);
|
||||
Bundle b = new Bundle();
|
||||
if (chromecastActivated) {
|
||||
b.putInt("displayed", 0);
|
||||
intentBC.putExtras(b);
|
||||
LocalBroadcastManager.getInstance(PeertubeActivity.this).sendBroadcast(intentBC);
|
||||
@ -763,8 +763,6 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
||||
mainHandler.post(myRunnable);
|
||||
|
||||
} else {
|
||||
Intent intentBC = new Intent(Helper.RECEIVE_CAST_SETTINGS);
|
||||
Bundle b = new Bundle();
|
||||
b.putInt("displayed", 1);
|
||||
b.putParcelable("castedTube", peertube);
|
||||
intentBC.putExtras(b);
|
||||
|
Loading…
x
Reference in New Issue
Block a user