Update assets for image editor.

This commit is contained in:
Nicholas Tinsley
2024-03-05 16:51:39 -05:00
committed by Alex Hart
parent 6383896a79
commit 83c16a46de
56 changed files with 490 additions and 236 deletions

View File

@@ -1,7 +1,6 @@
package org.thoughtcrime.securesms.mediasend.v2
import android.view.animation.Interpolator
import android.view.animation.LinearInterpolator
import org.thoughtcrime.securesms.util.createDefaultCubicBezierInterpolator
object MediaAnimations {
@@ -10,6 +9,4 @@ object MediaAnimations {
*/
@JvmStatic
val interpolator: Interpolator = createDefaultCubicBezierInterpolator()
val toolIconInterpolator = LinearInterpolator()
}

View File

@@ -367,7 +367,7 @@ class MediaReviewFragment : Fragment(R.layout.v2_media_review_fragment), Schedul
getString(R.string.MediaReviewFragment__photo_set_to_view_once)
}
MediaReviewToastPopupWindow.show(controls, R.drawable.ic_view_once_24, description)
MediaReviewToastPopupWindow.show(controls, R.drawable.symbol_view_once_24, description)
}
private fun presentQualityToggleToast(state: MediaSelectionState) {
@@ -494,8 +494,8 @@ class MediaReviewFragment : Fragment(R.layout.v2_media_review_fragment), Schedul
}
val sendButtonForegroundDrawable = when {
recipient != null -> ContextCompat.getDrawable(requireContext(), R.drawable.ic_send_24)
else -> ContextCompat.getDrawable(requireContext(), R.drawable.ic_arrow_end_24)
recipient != null -> ContextCompat.getDrawable(requireContext(), R.drawable.symbol_send_24)
else -> ContextCompat.getDrawable(requireContext(), R.drawable.symbol_arrow_end_24)
}
val sendButtonForegroundTint = when {