Refactor notification thumbnails to reduce chances for ANR.

This commit is contained in:
Cody Henthorne
2022-08-24 16:04:05 -04:00
committed by Greyson Parrelli
parent a9fc5622cd
commit 1e499fd12f
13 changed files with 213 additions and 72 deletions

View File

@@ -0,0 +1,9 @@
package org.thoughtcrime.securesms.util
/** Kilobytes in bytes */
val Int.kb
get() = this * 1024
/** Megabytes in bytes. */
val Int.mb
get() = this * 1024 * 1024