Rendi affidabile pausa con slate e conferma i controlli laterali.
Evita buchi HLS/YouTube in pausa (path slate ricreata, reload player, no patch recording inutili) e richiede conferma su tasti laterali app/regia. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+308
@@ -0,0 +1,308 @@
|
||||
package com.matchlivetv.match_live_tv
|
||||
|
||||
import android.content.Intent
|
||||
import android.os.SystemClock
|
||||
import android.view.KeyEvent
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import androidx.test.uiautomator.By
|
||||
import androidx.test.uiautomator.UiDevice
|
||||
import androidx.test.uiautomator.UiObject2
|
||||
import androidx.test.uiautomator.Until
|
||||
import org.junit.Assert.assertNotNull
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
/**
|
||||
* E2E emulatore: login → wizard partita → upload copertina sponsor → salva.
|
||||
* Richiede backend locale su http://10.0.2.2:3000 (variante collaudoDebug).
|
||||
*/
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class E2ECoverUploadTest {
|
||||
private lateinit var device: UiDevice
|
||||
private val ctx by lazy { InstrumentationRegistry.getInstrumentation().targetContext }
|
||||
private val pkg by lazy { ctx.packageName }
|
||||
|
||||
private fun s(id: Int): String = ctx.getString(id)
|
||||
private fun su(id: Int): String = s(id).uppercase()
|
||||
|
||||
@Before
|
||||
fun setUp() {
|
||||
device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
|
||||
grantRuntimePermissions()
|
||||
launchApp()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun wizard_uploadsMatchCover_andShowsMatchSource() {
|
||||
loginIfNeeded()
|
||||
waitForAnyText(su(R.string.matches_new), "NUOVA PARTITA", "NEW MATCH", timeoutMs = 60_000)
|
||||
|
||||
openMatchWizardViaQuickStart()
|
||||
|
||||
waitForText(s(R.string.wizard_step_title_match), timeoutMs = 45_000)
|
||||
scrollUntilVisible(s(R.string.wizard_match_cover_title))
|
||||
|
||||
tapClickableText(s(R.string.wizard_match_cover_change))
|
||||
pickFirstPhotoFromPicker()
|
||||
|
||||
waitForTextContains(
|
||||
s(R.string.wizard_match_cover_source_match),
|
||||
"Questa partita",
|
||||
"This match",
|
||||
timeoutMs = 20_000,
|
||||
)
|
||||
|
||||
tapClickableText(s(R.string.wizard_action_next))
|
||||
waitForText(s(R.string.wizard_step_title_transmission), timeoutMs = 45_000)
|
||||
|
||||
assertTrue(
|
||||
"Wizard non ha salvato la copertina (step trasmissione non raggiunto)",
|
||||
device.hasObject(By.text(s(R.string.wizard_step_title_transmission))),
|
||||
)
|
||||
}
|
||||
|
||||
private fun waitForTextContains(vararg needles: String, timeoutMs: Long) {
|
||||
val deadline = SystemClock.elapsedRealtime() + timeoutMs
|
||||
while (SystemClock.elapsedRealtime() < deadline) {
|
||||
for (needle in needles) {
|
||||
if (device.hasObject(By.textContains(needle))) return
|
||||
}
|
||||
SystemClock.sleep(250)
|
||||
}
|
||||
error("Nessun testo contenente: ${needles.joinToString()}")
|
||||
}
|
||||
|
||||
private fun loginIfNeeded() {
|
||||
waitForAnyText(
|
||||
s(R.string.login_email),
|
||||
su(R.string.login_submit),
|
||||
su(R.string.matches_new),
|
||||
timeoutMs = 45_000,
|
||||
)
|
||||
if (hasMatchList()) return
|
||||
|
||||
val email = InstrumentationRegistry.getArguments().getString("email") ?: "dir@test.com"
|
||||
val password = InstrumentationRegistry.getArguments().getString("password") ?: "TestPass123!"
|
||||
|
||||
repeat(3) {
|
||||
val emailField = waitForRes("login_email")
|
||||
val passwordField = waitForRes("login_password")
|
||||
pasteIntoField(emailField, email)
|
||||
pasteIntoField(passwordField, password)
|
||||
device.pressKeyCode(KeyEvent.KEYCODE_ENTER)
|
||||
device.waitForIdle()
|
||||
SystemClock.sleep(1500)
|
||||
tapLoginSubmit()
|
||||
SystemClock.sleep(4000)
|
||||
if (hasMatchList()) return
|
||||
}
|
||||
error("Login fallito")
|
||||
}
|
||||
|
||||
private fun openMatchWizardViaQuickStart() {
|
||||
tapClickableText(su(R.string.matches_new))
|
||||
waitForText(s(R.string.sheet_quick_option), timeoutMs = 15_000)
|
||||
tapClickableText(s(R.string.sheet_quick_option))
|
||||
}
|
||||
|
||||
private fun pickFirstPhotoFromPicker() {
|
||||
val pickerPkg = "com.google.android.photopicker"
|
||||
val deadline = SystemClock.elapsedRealtime() + 25_000
|
||||
while (SystemClock.elapsedRealtime() < deadline) {
|
||||
if (device.hasObject(By.pkg(pickerPkg))) break
|
||||
SystemClock.sleep(400)
|
||||
}
|
||||
if (!device.hasObject(By.pkg(pickerPkg))) {
|
||||
error("Photo picker non aperto")
|
||||
}
|
||||
|
||||
SystemClock.sleep(1500)
|
||||
|
||||
if (device.hasObject(By.textContains("cover_test"))) {
|
||||
tapClickableTextContains("cover_test")
|
||||
} else {
|
||||
val thumb = device.findObjects(By.pkg(pickerPkg).clickable(true))
|
||||
.filter {
|
||||
val b = it.visibleBounds
|
||||
b.top >= 1200 && b.width() >= 250
|
||||
}
|
||||
.minByOrNull { it.visibleBounds.top }
|
||||
if (thumb != null) {
|
||||
thumb.click()
|
||||
} else {
|
||||
device.click(device.displayWidth / 6, 1450)
|
||||
}
|
||||
}
|
||||
device.waitForIdle()
|
||||
SystemClock.sleep(1000)
|
||||
|
||||
if (device.hasObject(By.text("Fine"))) {
|
||||
tapClickableText("Fine")
|
||||
} else if (device.hasObject(By.text("Done"))) {
|
||||
tapClickableText("Done")
|
||||
} else {
|
||||
device.click((device.displayWidth * 0.85).toInt(), (device.displayHeight * 0.92).toInt())
|
||||
}
|
||||
waitForWizardReturn()
|
||||
}
|
||||
|
||||
private fun waitForWizardReturn() {
|
||||
device.wait(Until.hasObject(By.pkg(pkg)), 15_000)
|
||||
device.waitForIdle()
|
||||
SystemClock.sleep(800)
|
||||
confirmPickerIfNeeded()
|
||||
}
|
||||
|
||||
private fun tapClickableTextContains(needle: String) {
|
||||
val label = device.findObject(By.textContains(needle))
|
||||
?: error("Testo non trovato: $needle")
|
||||
var node: UiObject2? = label
|
||||
repeat(8) {
|
||||
val current = node ?: return@repeat
|
||||
if (current.isClickable) {
|
||||
current.click()
|
||||
device.waitForIdle()
|
||||
return
|
||||
}
|
||||
node = current.parent
|
||||
}
|
||||
label.click()
|
||||
device.waitForIdle()
|
||||
}
|
||||
|
||||
private fun confirmPickerIfNeeded() {
|
||||
val confirmLabels = listOf("Done", "Fatto", "OK", "Select", "Seleziona")
|
||||
for (label in confirmLabels) {
|
||||
val btn = device.findObject(By.text(label).clickable(true))
|
||||
if (btn != null) {
|
||||
btn.click()
|
||||
device.waitForIdle()
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun scrollUntilVisible(text: String) {
|
||||
repeat(8) {
|
||||
if (device.hasObject(By.text(text))) return
|
||||
scrollDown(1)
|
||||
}
|
||||
waitForText(text, timeoutMs = 10_000)
|
||||
}
|
||||
|
||||
private fun grantRuntimePermissions() {
|
||||
listOf(
|
||||
"android.permission.CAMERA",
|
||||
"android.permission.RECORD_AUDIO",
|
||||
"android.permission.POST_NOTIFICATIONS",
|
||||
"android.permission.READ_MEDIA_IMAGES",
|
||||
"android.permission.READ_EXTERNAL_STORAGE",
|
||||
).forEach { permission ->
|
||||
device.executeShellCommand("pm grant $pkg $permission")
|
||||
}
|
||||
}
|
||||
|
||||
private fun launchApp() {
|
||||
val intent = ctx.packageManager.getLaunchIntentForPackage(pkg)?.apply {
|
||||
addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
} ?: error("Launch intent mancante per $pkg")
|
||||
ctx.startActivity(intent)
|
||||
device.wait(Until.hasObject(By.pkg(pkg).depth(0)), 15_000)
|
||||
}
|
||||
|
||||
private fun hasMatchList(): Boolean =
|
||||
device.hasObject(By.text(su(R.string.matches_new))) ||
|
||||
device.hasObject(By.text("NUOVA PARTITA")) ||
|
||||
device.hasObject(By.text("NEW MATCH"))
|
||||
|
||||
private fun waitForRes(tag: String): UiObject2 {
|
||||
val obj = device.wait(Until.findObject(By.res(tag)), 10_000)
|
||||
?: device.wait(Until.findObject(By.res("$pkg:id/$tag")), 2_000)
|
||||
?: error("Nodo non trovato: $tag")
|
||||
return obj
|
||||
}
|
||||
|
||||
private fun tapLoginSubmit() {
|
||||
val btn = device.wait(Until.findObject(By.res("login_submit")), 3_000)
|
||||
?: device.wait(Until.findObject(By.res("$pkg:id/login_submit")), 1_000)
|
||||
if (btn != null) {
|
||||
val bounds = btn.visibleBounds
|
||||
device.click(bounds.centerX(), bounds.centerY())
|
||||
device.waitForIdle()
|
||||
return
|
||||
}
|
||||
val nodes = device.findObjects(By.text(su(R.string.login_submit))) +
|
||||
device.findObjects(By.text("ACCEDI")) +
|
||||
device.findObjects(By.text("LOG IN"))
|
||||
val target = nodes.lastOrNull { it.isClickable } ?: nodes.lastOrNull()
|
||||
target?.click()
|
||||
device.waitForIdle()
|
||||
}
|
||||
|
||||
private fun pasteIntoField(field: UiObject2, value: String) {
|
||||
field.click()
|
||||
device.waitForIdle()
|
||||
field.clear()
|
||||
field.text = value
|
||||
device.waitForIdle()
|
||||
}
|
||||
|
||||
private fun waitForText(text: String, timeoutMs: Long): UiObject2 {
|
||||
val obj = device.wait(Until.findObject(By.text(text)), timeoutMs)
|
||||
assertNotNull("Testo non trovato entro ${timeoutMs}ms: $text", obj)
|
||||
return obj!!
|
||||
}
|
||||
|
||||
private fun waitForAnyText(vararg texts: String, timeoutMs: Long) {
|
||||
val deadline = SystemClock.elapsedRealtime() + timeoutMs
|
||||
while (SystemClock.elapsedRealtime() < deadline) {
|
||||
for (text in texts) {
|
||||
if (device.hasObject(By.text(text))) return
|
||||
}
|
||||
SystemClock.sleep(250)
|
||||
}
|
||||
error("Nessuno dei testi trovato: ${texts.joinToString()}")
|
||||
}
|
||||
|
||||
private fun tapClickableText(text: String) {
|
||||
repeat(8) {
|
||||
val clickable = device.findObject(By.text(text).clickable(true))
|
||||
val label = clickable ?: device.findObject(By.text(text))
|
||||
if (label != null) {
|
||||
val b = label.visibleBounds
|
||||
if (b.height() >= 16 && b.bottom <= device.displayHeight && b.top >= 0) {
|
||||
var node: UiObject2? = label
|
||||
for (i in 0 until 6) {
|
||||
val current = node ?: break
|
||||
if (current.isClickable) {
|
||||
current.click()
|
||||
device.waitForIdle()
|
||||
return
|
||||
}
|
||||
node = current.parent
|
||||
}
|
||||
label.click()
|
||||
device.waitForIdle()
|
||||
return
|
||||
}
|
||||
}
|
||||
scrollDown(1)
|
||||
device.waitForIdle()
|
||||
}
|
||||
error("Testo non cliccabile visibile: $text")
|
||||
}
|
||||
|
||||
private fun scrollDown(steps: Int = 2) {
|
||||
val centerX = device.displayWidth / 2
|
||||
val startY = (device.displayHeight * 0.75).toInt()
|
||||
val endY = (device.displayHeight * 0.25).toInt()
|
||||
repeat(steps) {
|
||||
device.swipe(centerX, startY, centerX, endY, 24)
|
||||
device.waitForIdle()
|
||||
SystemClock.sleep(300)
|
||||
}
|
||||
}
|
||||
}
|
||||
+258
@@ -0,0 +1,258 @@
|
||||
package com.matchlivetv.match_live_tv
|
||||
|
||||
import android.content.Intent
|
||||
import android.os.SystemClock
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import androidx.test.uiautomator.By
|
||||
import androidx.test.uiautomator.UiDevice
|
||||
import androidx.test.uiautomator.UiObject2
|
||||
import androidx.test.uiautomator.Until
|
||||
import org.junit.Assert.assertFalse
|
||||
import org.junit.Assert.assertTrue
|
||||
import org.junit.Before
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
||||
/**
|
||||
* E2E: in diretta, ogni tasto laterale critico apre un dialog di conferma
|
||||
* e Annulla non esegue l'azione.
|
||||
*/
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class E2ESideConfirmDialogTest {
|
||||
private lateinit var device: UiDevice
|
||||
private val ctx by lazy { InstrumentationRegistry.getInstrumentation().targetContext }
|
||||
private val pkg by lazy { ctx.packageName }
|
||||
|
||||
private fun s(id: Int): String = ctx.getString(id)
|
||||
private fun su(id: Int): String = s(id).uppercase()
|
||||
|
||||
@Before
|
||||
fun setUp() {
|
||||
device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
|
||||
grantRuntimePermissions()
|
||||
launchApp()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun sideButtons_showConfirmDialog_andCancel() {
|
||||
ensureLoggedIn()
|
||||
openMatchWizardViaQuickStart()
|
||||
waitForText(s(R.string.wizard_step_title_match), timeoutMs = 45_000)
|
||||
scrollDown()
|
||||
tapClickableText(s(R.string.wizard_action_next))
|
||||
waitForText(s(R.string.wizard_step_title_transmission), timeoutMs = 45_000)
|
||||
skipToNetworkAndStart()
|
||||
|
||||
waitForAnyText(
|
||||
s(R.string.broadcast_status_live),
|
||||
s(R.string.broadcast_status_connecting),
|
||||
s(R.string.broadcast_status_paused),
|
||||
timeoutMs = 90_000,
|
||||
)
|
||||
SystemClock.sleep(2_000)
|
||||
|
||||
assertConfirmThenCancel(
|
||||
contentDesc = s(R.string.broadcast_pause_cd),
|
||||
dialogTitle = s(R.string.broadcast_pause_title),
|
||||
)
|
||||
assertConfirmThenCancel(
|
||||
contentDesc = s(R.string.broadcast_mute_cd),
|
||||
dialogTitle = s(R.string.broadcast_mute_title),
|
||||
)
|
||||
assertConfirmThenCancel(
|
||||
contentDesc = s(R.string.broadcast_share_regia_cd),
|
||||
dialogTitle = s(R.string.broadcast_share_regia_title),
|
||||
)
|
||||
assertConfirmThenCancel(
|
||||
contentDesc = s(R.string.broadcast_terminate_cd),
|
||||
dialogTitle = s(R.string.broadcast_terminate_title),
|
||||
)
|
||||
|
||||
// Dopo Annulla su termina, la diretta deve essere ancora aperta.
|
||||
assertTrue(
|
||||
"La diretta non deve chiudersi dopo Annulla su termina",
|
||||
device.hasObject(By.desc(s(R.string.broadcast_pause_cd))) ||
|
||||
device.hasObject(By.desc(s(R.string.broadcast_resume_cd))) ||
|
||||
device.hasObject(By.text(s(R.string.broadcast_status_live))) ||
|
||||
device.hasObject(By.text(s(R.string.broadcast_status_connecting))) ||
|
||||
device.hasObject(By.text(s(R.string.broadcast_status_paused))),
|
||||
)
|
||||
}
|
||||
|
||||
private fun assertConfirmThenCancel(contentDesc: String, dialogTitle: String) {
|
||||
val btn = device.wait(Until.findObject(By.desc(contentDesc)), 15_000)
|
||||
?: error("Pulsante laterale non trovato: $contentDesc")
|
||||
btn.click()
|
||||
device.waitForIdle()
|
||||
val title = device.wait(Until.findObject(By.text(dialogTitle)), 8_000)
|
||||
assertTrue("Dialog conferma assente per $contentDesc (atteso: $dialogTitle)", title != null)
|
||||
tapClickableText(s(R.string.action_cancel))
|
||||
SystemClock.sleep(600)
|
||||
assertFalse(
|
||||
"Dialog ancora aperto dopo Annulla: $dialogTitle",
|
||||
device.hasObject(By.text(dialogTitle)),
|
||||
)
|
||||
}
|
||||
|
||||
private fun skipToNetworkAndStart() {
|
||||
val onNetworkStep = {
|
||||
device.hasObject(By.text(s(R.string.wizard_network_test_start_label))) ||
|
||||
device.hasObject(By.text("AVVIA TEST RETE"))
|
||||
}
|
||||
repeat(5) {
|
||||
if (onNetworkStep()) return@repeat
|
||||
runCatching { tapClickableText(s(R.string.wizard_action_next)) }
|
||||
scrollUp()
|
||||
SystemClock.sleep(800)
|
||||
}
|
||||
waitForAnyText(s(R.string.wizard_network_test_start_label), "AVVIA TEST RETE", timeoutMs = 45_000)
|
||||
tapClickableText(s(R.string.wizard_network_test_start_label))
|
||||
waitForText(s(R.string.wizard_action_start), timeoutMs = 45_000)
|
||||
waitUntilEnabled(s(R.string.wizard_action_start), timeoutMs = 30_000)
|
||||
tapClickableText(s(R.string.wizard_action_start))
|
||||
}
|
||||
|
||||
private fun ensureLoggedIn() {
|
||||
waitForAnyText(
|
||||
s(R.string.login_email),
|
||||
su(R.string.login_submit),
|
||||
su(R.string.matches_new),
|
||||
timeoutMs = 45_000,
|
||||
)
|
||||
if (hasMatchList()) return
|
||||
fillLogin()
|
||||
tapLoginSubmit()
|
||||
SystemClock.sleep(3_000)
|
||||
waitForAnyText(su(R.string.matches_new), timeoutMs = 60_000)
|
||||
}
|
||||
|
||||
private fun fillLogin() {
|
||||
val email = device.findObject(By.clazz("android.widget.EditText"))
|
||||
?: error("Campo email non trovato")
|
||||
pasteIntoField(email, "dir@test.com")
|
||||
val fields = device.findObjects(By.clazz("android.widget.EditText"))
|
||||
val password = fields.getOrNull(1) ?: error("Campo password non trovato")
|
||||
pasteIntoField(password, "TestPass123!")
|
||||
}
|
||||
|
||||
private fun tapLoginSubmit() {
|
||||
tapClickableText(su(R.string.login_submit))
|
||||
}
|
||||
|
||||
private fun openMatchWizardViaQuickStart() {
|
||||
tapClickableText(su(R.string.matches_new))
|
||||
waitForText(s(R.string.sheet_quick_option), timeoutMs = 15_000)
|
||||
tapClickableText(s(R.string.sheet_quick_option))
|
||||
}
|
||||
|
||||
private fun grantRuntimePermissions() {
|
||||
listOf(
|
||||
"android.permission.CAMERA",
|
||||
"android.permission.RECORD_AUDIO",
|
||||
"android.permission.POST_NOTIFICATIONS",
|
||||
).forEach { permission ->
|
||||
device.executeShellCommand("pm grant $pkg $permission")
|
||||
}
|
||||
}
|
||||
|
||||
private fun launchApp() {
|
||||
val intent = ctx.packageManager.getLaunchIntentForPackage(pkg)?.apply {
|
||||
addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK or Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
} ?: error("Launch intent mancante per $pkg")
|
||||
ctx.startActivity(intent)
|
||||
device.wait(Until.hasObject(By.pkg(pkg).depth(0)), 15_000)
|
||||
}
|
||||
|
||||
private fun hasMatchList(): Boolean =
|
||||
device.hasObject(By.text(su(R.string.matches_new)))
|
||||
|
||||
private fun pasteIntoField(field: UiObject2, value: String) {
|
||||
field.click()
|
||||
device.waitForIdle()
|
||||
field.clear()
|
||||
field.text = value
|
||||
device.waitForIdle()
|
||||
}
|
||||
|
||||
private fun waitForText(text: String, timeoutMs: Long): UiObject2 {
|
||||
val obj = device.wait(Until.findObject(By.text(text)), timeoutMs)
|
||||
?: error("Testo non trovato entro ${timeoutMs}ms: $text")
|
||||
return obj
|
||||
}
|
||||
|
||||
private fun waitForAnyText(vararg texts: String, timeoutMs: Long) {
|
||||
val deadline = SystemClock.elapsedRealtime() + timeoutMs
|
||||
while (SystemClock.elapsedRealtime() < deadline) {
|
||||
for (text in texts) {
|
||||
if (device.hasObject(By.text(text))) return
|
||||
}
|
||||
SystemClock.sleep(250)
|
||||
}
|
||||
error("Nessuno dei testi trovato: ${texts.joinToString()}")
|
||||
}
|
||||
|
||||
private fun tapClickableText(text: String) {
|
||||
repeat(6) {
|
||||
val clickable = device.findObject(By.text(text).clickable(true))
|
||||
val label = clickable ?: device.findObject(By.text(text))
|
||||
if (label != null) {
|
||||
var node: UiObject2? = label
|
||||
for (i in 0 until 6) {
|
||||
val current = node ?: break
|
||||
if (current.isClickable) {
|
||||
current.click()
|
||||
device.waitForIdle()
|
||||
return
|
||||
}
|
||||
node = current.parent
|
||||
}
|
||||
label.click()
|
||||
device.waitForIdle()
|
||||
return
|
||||
}
|
||||
scrollDown(1)
|
||||
device.waitForIdle()
|
||||
}
|
||||
error("Testo non cliccabile visibile: $text")
|
||||
}
|
||||
|
||||
private fun waitUntilEnabled(text: String, timeoutMs: Long) {
|
||||
val deadline = SystemClock.elapsedRealtime() + timeoutMs
|
||||
while (SystemClock.elapsedRealtime() < deadline) {
|
||||
val label = device.findObject(By.text(text))
|
||||
if (label != null) {
|
||||
var node: UiObject2? = label
|
||||
for (i in 0 until 6) {
|
||||
val current = node ?: break
|
||||
if (current.isClickable && current.isEnabled) return
|
||||
node = current.parent
|
||||
}
|
||||
}
|
||||
SystemClock.sleep(500)
|
||||
}
|
||||
error("Pulsante non abilitato entro timeout: $text")
|
||||
}
|
||||
|
||||
private fun scrollDown(steps: Int = 2) {
|
||||
val centerX = device.displayWidth / 2
|
||||
val startY = (device.displayHeight * 0.75).toInt()
|
||||
val endY = (device.displayHeight * 0.25).toInt()
|
||||
repeat(steps) {
|
||||
device.swipe(centerX, startY, centerX, endY, 24)
|
||||
device.waitForIdle()
|
||||
SystemClock.sleep(300)
|
||||
}
|
||||
}
|
||||
|
||||
private fun scrollUp(steps: Int = 1) {
|
||||
val centerX = device.displayWidth / 2
|
||||
val startY = (device.displayHeight * 0.35).toInt()
|
||||
val endY = (device.displayHeight * 0.75).toInt()
|
||||
repeat(steps) {
|
||||
device.swipe(centerX, startY, centerX, endY, 24)
|
||||
device.waitForIdle()
|
||||
SystemClock.sleep(300)
|
||||
}
|
||||
}
|
||||
}
|
||||
+110
-26
@@ -123,7 +123,7 @@ fun BroadcastControlsOverlay(
|
||||
onSelectMinQuality: (String) -> Unit = {},
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
var showTerminateConfirm by remember { mutableStateOf(false) }
|
||||
var pendingConfirm by remember { mutableStateOf<SideConfirmAction?>(null) }
|
||||
var showMinQualityPicker by remember { mutableStateOf(false) }
|
||||
val autoLabel = stringResource(R.string.broadcast_min_quality_auto)
|
||||
|
||||
@@ -140,25 +140,21 @@ fun BroadcastControlsOverlay(
|
||||
)
|
||||
}
|
||||
|
||||
if (showTerminateConfirm) {
|
||||
AlertDialog(
|
||||
onDismissRequest = { showTerminateConfirm = false },
|
||||
containerColor = MatchColors.SurfaceElevated,
|
||||
title = { Text(stringResource(R.string.broadcast_terminate_title)) },
|
||||
text = { Text(stringResource(R.string.broadcast_terminate_message)) },
|
||||
confirmButton = {
|
||||
TextButton(
|
||||
onClick = {
|
||||
showTerminateConfirm = false
|
||||
onTerminate()
|
||||
},
|
||||
) {
|
||||
Text(stringResource(R.string.broadcast_terminate_confirm), color = MatchColors.PrimaryRed)
|
||||
}
|
||||
},
|
||||
dismissButton = {
|
||||
TextButton(onClick = { showTerminateConfirm = false }) {
|
||||
Text(stringResource(R.string.action_cancel), color = MatchColors.TextSecondary)
|
||||
pendingConfirm?.let { action ->
|
||||
SideActionConfirmDialog(
|
||||
action = action,
|
||||
isPaused = isPaused,
|
||||
audioMuted = audioMuted,
|
||||
onDismiss = { pendingConfirm = null },
|
||||
onConfirm = {
|
||||
pendingConfirm = null
|
||||
when (action) {
|
||||
SideConfirmAction.SHARE_LIVE -> onShareLive()
|
||||
SideConfirmAction.SHARE_REGIA -> onShareRegia()
|
||||
SideConfirmAction.ADVANCE_PERIOD -> onAdvancePeriod?.invoke()
|
||||
SideConfirmAction.PAUSE_OR_RESUME -> onPauseOrResume()
|
||||
SideConfirmAction.TOGGLE_MUTE -> onToggleAudioMute()
|
||||
SideConfirmAction.TERMINATE -> onTerminate()
|
||||
}
|
||||
},
|
||||
)
|
||||
@@ -216,13 +212,13 @@ fun BroadcastControlsOverlay(
|
||||
SideIconButton(
|
||||
icon = Icons.Default.Share,
|
||||
contentDescription = stringResource(R.string.broadcast_share_live_cd),
|
||||
onClick = onShareLive,
|
||||
onClick = { pendingConfirm = SideConfirmAction.SHARE_LIVE },
|
||||
enabled = shareLiveEnabled,
|
||||
)
|
||||
SideIconButton(
|
||||
icon = Icons.Default.Videocam,
|
||||
contentDescription = stringResource(R.string.broadcast_share_regia_cd),
|
||||
onClick = onShareRegia,
|
||||
onClick = { pendingConfirm = SideConfirmAction.SHARE_REGIA },
|
||||
)
|
||||
SideIconButton(
|
||||
icon = Icons.Default.Tune,
|
||||
@@ -240,7 +236,7 @@ fun BroadcastControlsOverlay(
|
||||
SideIconButton(
|
||||
icon = Icons.Default.SkipNext,
|
||||
contentDescription = stringResource(R.string.broadcast_next_period_cd),
|
||||
onClick = onAdvancePeriod,
|
||||
onClick = { pendingConfirm = SideConfirmAction.ADVANCE_PERIOD },
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -258,7 +254,7 @@ fun BroadcastControlsOverlay(
|
||||
} else {
|
||||
stringResource(R.string.broadcast_pause_cd)
|
||||
},
|
||||
onClick = onPauseOrResume,
|
||||
onClick = { pendingConfirm = SideConfirmAction.PAUSE_OR_RESUME },
|
||||
highlighted = isPaused,
|
||||
)
|
||||
SideIconButton(
|
||||
@@ -268,13 +264,13 @@ fun BroadcastControlsOverlay(
|
||||
} else {
|
||||
stringResource(R.string.broadcast_mute_cd)
|
||||
},
|
||||
onClick = onToggleAudioMute,
|
||||
onClick = { pendingConfirm = SideConfirmAction.TOGGLE_MUTE },
|
||||
highlighted = audioMuted,
|
||||
)
|
||||
SideIconButton(
|
||||
icon = Icons.Default.Stop,
|
||||
contentDescription = stringResource(R.string.broadcast_terminate_cd),
|
||||
onClick = { showTerminateConfirm = true },
|
||||
onClick = { pendingConfirm = SideConfirmAction.TERMINATE },
|
||||
danger = true,
|
||||
)
|
||||
}
|
||||
@@ -770,6 +766,94 @@ private fun MinQualityOptionChip(
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
private fun SideActionConfirmDialog(
|
||||
action: SideConfirmAction,
|
||||
isPaused: Boolean,
|
||||
audioMuted: Boolean,
|
||||
onDismiss: () -> Unit,
|
||||
onConfirm: () -> Unit,
|
||||
) {
|
||||
val title: String
|
||||
val message: String
|
||||
val confirmLabel: String
|
||||
val confirmColor: Color
|
||||
when (action) {
|
||||
SideConfirmAction.SHARE_LIVE -> {
|
||||
title = stringResource(R.string.broadcast_share_live_title)
|
||||
message = stringResource(R.string.broadcast_share_live_message)
|
||||
confirmLabel = stringResource(R.string.action_confirm)
|
||||
confirmColor = Color.White
|
||||
}
|
||||
SideConfirmAction.SHARE_REGIA -> {
|
||||
title = stringResource(R.string.broadcast_share_regia_title)
|
||||
message = stringResource(R.string.broadcast_share_regia_message)
|
||||
confirmLabel = stringResource(R.string.action_confirm)
|
||||
confirmColor = Color.White
|
||||
}
|
||||
SideConfirmAction.ADVANCE_PERIOD -> {
|
||||
title = stringResource(R.string.broadcast_advance_period_title)
|
||||
message = stringResource(R.string.broadcast_advance_period_message)
|
||||
confirmLabel = stringResource(R.string.action_confirm)
|
||||
confirmColor = Color.White
|
||||
}
|
||||
SideConfirmAction.PAUSE_OR_RESUME -> {
|
||||
if (isPaused) {
|
||||
title = stringResource(R.string.broadcast_resume_title)
|
||||
message = stringResource(R.string.broadcast_resume_message)
|
||||
} else {
|
||||
title = stringResource(R.string.broadcast_pause_title)
|
||||
message = stringResource(R.string.broadcast_pause_message)
|
||||
}
|
||||
confirmLabel = stringResource(R.string.action_confirm)
|
||||
confirmColor = Color.White
|
||||
}
|
||||
SideConfirmAction.TOGGLE_MUTE -> {
|
||||
if (audioMuted) {
|
||||
title = stringResource(R.string.broadcast_unmute_title)
|
||||
message = stringResource(R.string.broadcast_unmute_message)
|
||||
} else {
|
||||
title = stringResource(R.string.broadcast_mute_title)
|
||||
message = stringResource(R.string.broadcast_mute_message)
|
||||
}
|
||||
confirmLabel = stringResource(R.string.action_confirm)
|
||||
confirmColor = Color.White
|
||||
}
|
||||
SideConfirmAction.TERMINATE -> {
|
||||
title = stringResource(R.string.broadcast_terminate_title)
|
||||
message = stringResource(R.string.broadcast_terminate_message)
|
||||
confirmLabel = stringResource(R.string.broadcast_terminate_confirm)
|
||||
confirmColor = MatchColors.PrimaryRed
|
||||
}
|
||||
}
|
||||
|
||||
AlertDialog(
|
||||
onDismissRequest = onDismiss,
|
||||
containerColor = MatchColors.SurfaceElevated,
|
||||
title = { Text(title) },
|
||||
text = { Text(message) },
|
||||
confirmButton = {
|
||||
TextButton(onClick = onConfirm) {
|
||||
Text(confirmLabel, color = confirmColor)
|
||||
}
|
||||
},
|
||||
dismissButton = {
|
||||
TextButton(onClick = onDismiss) {
|
||||
Text(stringResource(R.string.action_cancel), color = MatchColors.TextSecondary)
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
private enum class SideConfirmAction {
|
||||
SHARE_LIVE,
|
||||
SHARE_REGIA,
|
||||
ADVANCE_PERIOD,
|
||||
PAUSE_OR_RESUME,
|
||||
TOGGLE_MUTE,
|
||||
TERMINATE,
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalMaterial3Api::class)
|
||||
@Composable
|
||||
private fun SideIconButton(
|
||||
|
||||
+14
-4
@@ -14,6 +14,7 @@ import kotlin.coroutines.resume
|
||||
|
||||
enum class ScoreDialogKind {
|
||||
SET_WON,
|
||||
CLOSE_SET,
|
||||
CLOSE_SET_ANYWAY,
|
||||
MATCH_WON,
|
||||
}
|
||||
@@ -78,6 +79,9 @@ fun ScoreDialogRouter(
|
||||
onDismiss = host::resolve,
|
||||
)
|
||||
}
|
||||
ScoreDialogKind.CLOSE_SET -> {
|
||||
CloseSetConfirmDialog(onDismiss = host::resolve)
|
||||
}
|
||||
ScoreDialogKind.CLOSE_SET_ANYWAY -> {
|
||||
CloseSetAnywayDialog(onDismiss = host::resolve)
|
||||
}
|
||||
@@ -136,10 +140,16 @@ class LiveScoreActions(
|
||||
awayPoints = score.awayPoints,
|
||||
currentSet = score.currentSet,
|
||||
)
|
||||
if (winner == null) {
|
||||
val ok = dialogHost.show(ScoreDialogState(kind = ScoreDialogKind.CLOSE_SET_ANYWAY))
|
||||
if (!ok) return
|
||||
}
|
||||
val ok = dialogHost.show(
|
||||
ScoreDialogState(
|
||||
kind = if (winner == null) {
|
||||
ScoreDialogKind.CLOSE_SET_ANYWAY
|
||||
} else {
|
||||
ScoreDialogKind.CLOSE_SET
|
||||
},
|
||||
),
|
||||
)
|
||||
if (!ok) return
|
||||
scoreController.closeSet()
|
||||
afterCloseSet(onStopStream)
|
||||
}
|
||||
|
||||
+22
@@ -38,6 +38,28 @@ fun SetWonDialog(
|
||||
)
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun CloseSetConfirmDialog(onDismiss: (confirmed: Boolean) -> Unit) {
|
||||
AlertDialog(
|
||||
onDismissRequest = { onDismiss(false) },
|
||||
containerColor = MatchColors.Surface,
|
||||
title = { Text(stringResource(R.string.score_action_close_set)) },
|
||||
text = {
|
||||
Text(stringResource(R.string.broadcast_close_set_confirm_message))
|
||||
},
|
||||
confirmButton = {
|
||||
FilledTonalButton(onClick = { onDismiss(true) }) {
|
||||
Text(stringResource(R.string.score_action_close_set), color = Color.Black)
|
||||
}
|
||||
},
|
||||
dismissButton = {
|
||||
TextButton(onClick = { onDismiss(false) }) {
|
||||
Text(stringResource(R.string.action_cancel))
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun CloseSetAnywayDialog(onDismiss: (confirmed: Boolean) -> Unit) {
|
||||
AlertDialog(
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<string name="action_logout">Abmelden</string>
|
||||
<string name="action_login">Anmelden</string>
|
||||
<string name="action_cancel">Abbrechen</string>
|
||||
<string name="action_confirm">Bestätigen</string>
|
||||
<string name="action_save">Speichern</string>
|
||||
<string name="login_email">E-Mail</string>
|
||||
<string name="login_password">Passwort</string>
|
||||
@@ -172,6 +173,21 @@
|
||||
<string name="broadcast_terminate_title">Livestream beenden?</string>
|
||||
<string name="broadcast_terminate_message">Der Stream wird für alle Zuschauer beendet.</string>
|
||||
<string name="broadcast_terminate_confirm">BEENDEN</string>
|
||||
<string name="broadcast_pause_title">Livestream pausieren?</string>
|
||||
<string name="broadcast_pause_message">Das Cover bleibt on air, bis du fortsetzt.</string>
|
||||
<string name="broadcast_resume_title">Livestream fortsetzen?</string>
|
||||
<string name="broadcast_resume_message">Die Kamera geht wieder on air statt des Covers.</string>
|
||||
<string name="broadcast_mute_title">Audio stummschalten?</string>
|
||||
<string name="broadcast_mute_message">Das Mikrofon wird nicht mehr an den Stream gesendet, bis du es wieder aktivierst.</string>
|
||||
<string name="broadcast_unmute_title">Audio wieder aktivieren?</string>
|
||||
<string name="broadcast_unmute_message">Das Mikrofon ist wieder aktiv im Stream.</string>
|
||||
<string name="broadcast_advance_period_title">Zum nächsten Abschnitt wechseln?</string>
|
||||
<string name="broadcast_advance_period_message">Die Anzeigetafel wechselt zum nächsten Abschnitt und der aktuelle Stand wird gespeichert.</string>
|
||||
<string name="broadcast_share_live_title">Livestream teilen?</string>
|
||||
<string name="broadcast_share_live_message">Es öffnet sich das Teilen-Menü mit dem öffentlichen Live-Link.</string>
|
||||
<string name="broadcast_share_regia_title">Regie-Link teilen?</string>
|
||||
<string name="broadcast_share_regia_message">Es öffnet sich das Teilen-Menü mit dem Link zur Fernsteuerung des Spielstands.</string>
|
||||
<string name="broadcast_close_set_confirm_message">Bestätigst du das Beenden des aktuellen Satzes?</string>
|
||||
<string name="broadcast_hide_controls_cd">Steuerung ausblenden</string>
|
||||
<string name="broadcast_show_controls_cd">Steuerung einblenden</string>
|
||||
<string name="broadcast_share_live_cd">Livestream teilen</string>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<string name="action_logout">Log out</string>
|
||||
<string name="action_login">Log in</string>
|
||||
<string name="action_cancel">Cancel</string>
|
||||
<string name="action_confirm">Confirm</string>
|
||||
<string name="action_save">Save</string>
|
||||
<string name="login_email">Email</string>
|
||||
<string name="login_password">Password</string>
|
||||
@@ -172,6 +173,21 @@
|
||||
<string name="broadcast_terminate_title">End the live stream?</string>
|
||||
<string name="broadcast_terminate_message">The stream will be closed for all viewers.</string>
|
||||
<string name="broadcast_terminate_confirm">END</string>
|
||||
<string name="broadcast_pause_title">Pause the live stream?</string>
|
||||
<string name="broadcast_pause_message">The cover slate will stay on air until you resume.</string>
|
||||
<string name="broadcast_resume_title">Resume the live stream?</string>
|
||||
<string name="broadcast_resume_message">The camera will go back on air instead of the cover slate.</string>
|
||||
<string name="broadcast_mute_title">Mute audio?</string>
|
||||
<string name="broadcast_mute_message">The microphone will not be sent to the stream until you unmute.</string>
|
||||
<string name="broadcast_unmute_title">Unmute audio?</string>
|
||||
<string name="broadcast_unmute_message">The microphone will be active on the stream again.</string>
|
||||
<string name="broadcast_advance_period_title">Advance to the next period?</string>
|
||||
<string name="broadcast_advance_period_message">The scoreboard will move to the next period and the current period score will be saved.</string>
|
||||
<string name="broadcast_share_live_title">Share the live stream?</string>
|
||||
<string name="broadcast_share_live_message">This opens the share sheet with the public live link.</string>
|
||||
<string name="broadcast_share_regia_title">Share the control room link?</string>
|
||||
<string name="broadcast_share_regia_message">This opens the share sheet with the remote scoring link.</string>
|
||||
<string name="broadcast_close_set_confirm_message">Confirm closing the current set?</string>
|
||||
<string name="broadcast_hide_controls_cd">Hide controls</string>
|
||||
<string name="broadcast_show_controls_cd">Show controls</string>
|
||||
<string name="broadcast_share_live_cd">Share live stream</string>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<string name="action_logout">Salir</string>
|
||||
<string name="action_login">Acceder</string>
|
||||
<string name="action_cancel">Cancelar</string>
|
||||
<string name="action_confirm">Confirmar</string>
|
||||
<string name="action_save">Guardar</string>
|
||||
<string name="login_email">Email</string>
|
||||
<string name="login_password">Contraseña</string>
|
||||
@@ -172,6 +173,21 @@
|
||||
<string name="broadcast_terminate_title">¿Terminar el directo?</string>
|
||||
<string name="broadcast_terminate_message">El streaming se cerrará para todos los espectadores.</string>
|
||||
<string name="broadcast_terminate_confirm">TERMINAR</string>
|
||||
<string name="broadcast_pause_title">¿Pausar el directo?</string>
|
||||
<string name="broadcast_pause_message">La portada seguirá en antena hasta que lo reanudes.</string>
|
||||
<string name="broadcast_resume_title">¿Reanudar el directo?</string>
|
||||
<string name="broadcast_resume_message">La cámara volverá a antena en lugar de la portada.</string>
|
||||
<string name="broadcast_mute_title">¿Silenciar el audio?</string>
|
||||
<string name="broadcast_mute_message">El micrófono no se enviará al stream hasta que lo reactives.</string>
|
||||
<string name="broadcast_unmute_title">¿Reactivar el audio?</string>
|
||||
<string name="broadcast_unmute_message">El micrófono volverá a estar activo en el stream.</string>
|
||||
<string name="broadcast_advance_period_title">¿Pasar al periodo siguiente?</string>
|
||||
<string name="broadcast_advance_period_message">El marcador pasará al siguiente periodo y se guardará el marcador del periodo actual.</string>
|
||||
<string name="broadcast_share_live_title">¿Compartir el directo?</string>
|
||||
<string name="broadcast_share_live_message">Se abrirá el menú de compartir con el enlace público del directo.</string>
|
||||
<string name="broadcast_share_regia_title">¿Compartir el enlace de regie?</string>
|
||||
<string name="broadcast_share_regia_message">Se abrirá el menú de compartir con el enlace para gestionar el marcador a distancia.</string>
|
||||
<string name="broadcast_close_set_confirm_message">¿Confirmas el cierre del set actual?</string>
|
||||
<string name="broadcast_hide_controls_cd">Ocultar controles</string>
|
||||
<string name="broadcast_show_controls_cd">Mostrar controles</string>
|
||||
<string name="broadcast_share_live_cd">Compartir directo</string>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<string name="action_logout">Déconnexion</string>
|
||||
<string name="action_login">Connexion</string>
|
||||
<string name="action_cancel">Annuler</string>
|
||||
<string name="action_confirm">Confirmer</string>
|
||||
<string name="action_save">Enregistrer</string>
|
||||
<string name="login_email">E-mail</string>
|
||||
<string name="login_password">Mot de passe</string>
|
||||
@@ -172,6 +173,21 @@
|
||||
<string name="broadcast_terminate_title">Terminer le direct ?</string>
|
||||
<string name="broadcast_terminate_message">Le streaming sera fermé pour tous les spectateurs.</string>
|
||||
<string name="broadcast_terminate_confirm">TERMINER</string>
|
||||
<string name="broadcast_pause_title">Mettre le direct en pause ?</string>
|
||||
<string name="broadcast_pause_message">La couverture restera à l\'antenne jusqu\'à la reprise.</string>
|
||||
<string name="broadcast_resume_title">Reprendre le direct ?</string>
|
||||
<string name="broadcast_resume_message">La caméra reviendra à l\'antenne à la place de la couverture.</string>
|
||||
<string name="broadcast_mute_title">Couper l\'audio ?</string>
|
||||
<string name="broadcast_mute_message">Le micro ne sera plus envoyé au flux tant que vous ne le réactivez pas.</string>
|
||||
<string name="broadcast_unmute_title">Réactiver l\'audio ?</string>
|
||||
<string name="broadcast_unmute_message">Le micro sera à nouveau actif sur le flux.</string>
|
||||
<string name="broadcast_advance_period_title">Passer à la période suivante ?</string>
|
||||
<string name="broadcast_advance_period_message">Le tableau passera à la période suivante et le score de la période en cours sera enregistré.</string>
|
||||
<string name="broadcast_share_live_title">Partager le direct ?</string>
|
||||
<string name="broadcast_share_live_message">Cela ouvre le menu de partage avec le lien public du direct.</string>
|
||||
<string name="broadcast_share_regia_title">Partager le lien régie ?</string>
|
||||
<string name="broadcast_share_regia_message">Cela ouvre le menu de partage avec le lien de scoring distant.</string>
|
||||
<string name="broadcast_close_set_confirm_message">Confirmez la clôture du set en cours ?</string>
|
||||
<string name="broadcast_hide_controls_cd">Masquer les commandes</string>
|
||||
<string name="broadcast_show_controls_cd">Afficher les commandes</string>
|
||||
<string name="broadcast_share_live_cd">Partager le direct</string>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<string name="action_logout">Esci</string>
|
||||
<string name="action_login">Accedi</string>
|
||||
<string name="action_cancel">Annulla</string>
|
||||
<string name="action_confirm">Conferma</string>
|
||||
<string name="action_save">Salva</string>
|
||||
<string name="login_email">Email</string>
|
||||
<string name="login_password">Password</string>
|
||||
@@ -173,6 +174,21 @@
|
||||
<string name="broadcast_terminate_title">Terminare la diretta?</string>
|
||||
<string name="broadcast_terminate_message">Lo streaming verrà chiuso per tutti gli spettatori.</string>
|
||||
<string name="broadcast_terminate_confirm">TERMINA</string>
|
||||
<string name="broadcast_pause_title">Mettere in pausa?</string>
|
||||
<string name="broadcast_pause_message">La diretta passerà alla copertina finché non la riprendi.</string>
|
||||
<string name="broadcast_resume_title">Riprendere la diretta?</string>
|
||||
<string name="broadcast_resume_message">La telecamera tornerà in onda al posto della copertina.</string>
|
||||
<string name="broadcast_mute_title">Silenziare l\'audio?</string>
|
||||
<string name="broadcast_mute_message">Il microfono non verrà inviato allo stream finché non lo riattivi.</string>
|
||||
<string name="broadcast_unmute_title">Riattivare l\'audio?</string>
|
||||
<string name="broadcast_unmute_message">Il microfono tornerà attivo sullo stream.</string>
|
||||
<string name="broadcast_advance_period_title">Passare al periodo successivo?</string>
|
||||
<string name="broadcast_advance_period_message">Il tabellone passerà al periodo successivo e il punteggio del periodo corrente sarà salvato.</string>
|
||||
<string name="broadcast_share_live_title">Condividere la diretta?</string>
|
||||
<string name="broadcast_share_live_message">Aprirai il menu di condivisione con il link pubblico della diretta.</string>
|
||||
<string name="broadcast_share_regia_title">Condividere il link regia?</string>
|
||||
<string name="broadcast_share_regia_message">Aprirai il menu di condivisione con il link per gestire il punteggio da remoto.</string>
|
||||
<string name="broadcast_close_set_confirm_message">Confermi la chiusura del set corrente?</string>
|
||||
<string name="broadcast_hide_controls_cd">Nascondi controlli</string>
|
||||
<string name="broadcast_show_controls_cd">Mostra controlli</string>
|
||||
<string name="broadcast_share_live_cd">Condividi diretta</string>
|
||||
|
||||
Reference in New Issue
Block a user