Improves wording to download to the phone as opposed to the profile gallery
This commit is contained in:
+1
-1
@@ -159,7 +159,7 @@ fun OverflowMenuButton(
|
|||||||
|
|
||||||
if (showSave) {
|
if (showSave) {
|
||||||
DropdownMenuItem(
|
DropdownMenuItem(
|
||||||
text = { Text(stringRes(R.string.save_to_gallery), color = Color.White) },
|
text = { Text(stringRes(R.string.download_to_phone), color = Color.White) },
|
||||||
onClick = {
|
onClick = {
|
||||||
menuExpanded.value = false
|
menuExpanded.value = false
|
||||||
onSaveClick()
|
onSaveClick()
|
||||||
|
|||||||
+1
-1
@@ -132,7 +132,7 @@ fun SaveMediaButton(onSaveClick: (localContext: Context) -> Unit) {
|
|||||||
Icon(
|
Icon(
|
||||||
imageVector = Icons.Default.Download,
|
imageVector = Icons.Default.Download,
|
||||||
modifier = Size20Modifier,
|
modifier = Size20Modifier,
|
||||||
contentDescription = stringRes(R.string.save_to_gallery),
|
contentDescription = stringRes(R.string.download_to_phone),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -290,7 +290,7 @@ private fun DialogContent(
|
|||||||
Icon(
|
Icon(
|
||||||
imageVector = Icons.Default.Download,
|
imageVector = Icons.Default.Download,
|
||||||
modifier = Size20Modifier,
|
modifier = Size20Modifier,
|
||||||
contentDescription = stringRes(R.string.save_to_gallery),
|
contentDescription = stringRes(R.string.download_to_phone),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -27,6 +27,7 @@ import androidx.compose.foundation.layout.fillMaxSize
|
|||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.filled.PlayCircleOutline
|
import androidx.compose.material.icons.filled.PlayCircleOutline
|
||||||
import androidx.compose.material3.Icon
|
import androidx.compose.material3.Icon
|
||||||
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.collectAsState
|
import androidx.compose.runtime.collectAsState
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
@@ -227,7 +228,7 @@ fun UrlImageView(
|
|||||||
imageVector = Icons.Default.PlayCircleOutline,
|
imageVector = Icons.Default.PlayCircleOutline,
|
||||||
contentDescription = stringRes(id = R.string.play),
|
contentDescription = stringRes(id = R.string.play),
|
||||||
modifier = Size50Modifier,
|
modifier = Size50Modifier,
|
||||||
tint = Color.White,
|
tint = MaterialTheme.colorScheme.onBackground,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -162,6 +162,7 @@
|
|||||||
<string name="pronouns">Pronouns</string>
|
<string name="pronouns">Pronouns</string>
|
||||||
<string name="ln_address">LN Address</string>
|
<string name="ln_address">LN Address</string>
|
||||||
<string name="ln_url_outdated">LN URL (outdated)</string>
|
<string name="ln_url_outdated">LN URL (outdated)</string>
|
||||||
|
<string name="download_to_phone">Save to Phone</string>
|
||||||
<string name="save_to_gallery">Save to Gallery</string>
|
<string name="save_to_gallery">Save to Gallery</string>
|
||||||
<string name="image_saved_to_the_gallery">Image saved to the phone\'s photo gallery</string>
|
<string name="image_saved_to_the_gallery">Image saved to the phone\'s photo gallery</string>
|
||||||
<string name="video_download_has_started_toast">Video download has started…</string>
|
<string name="video_download_has_started_toast">Video download has started…</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user