mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 00:29:11 +01:00
Use AttachmentSaver to save story images.
This commit is contained in:
committed by
Cody Henthorne
parent
293012c219
commit
c876c7847e
@@ -102,7 +102,7 @@ class AttachmentSaver(private val host: Host) {
|
||||
fun dismissSaveProgress()
|
||||
}
|
||||
|
||||
private data class FragmentHost(private val fragment: Fragment) : Host {
|
||||
data class FragmentHost(private val fragment: Fragment) : Host {
|
||||
|
||||
override fun showToast(getMessage: (Context) -> CharSequence) {
|
||||
Toast.makeText(fragment.requireContext(), getMessage(fragment.requireContext()), Toast.LENGTH_LONG).show()
|
||||
|
||||
Reference in New Issue
Block a user