File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
TMessagesProj/src/main/kotlin/xyz/nextalone/nagram/helper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import java.io.File
2424object ExternalStickerCacheHelper {
2525 const val TAG = " ExternalStickerCache"
2626
27- private val cachePath = ApplicationLoader .applicationContext.getExternalFilesDir( null ) !! .resolve( " caches " )
27+ private val cachePath by lazy { AndroidUtilities .getCacheDir() }
2828
2929 @JvmStatic
3030 fun checkUri (configCell : ConfigCellAutoTextCheck , context : Context ) {
@@ -277,7 +277,7 @@ object ExternalStickerCacheHelper {
277277 private fun showToast (msg : String? ) {
278278 var realMessage = msg
279279 if (realMessage == null ) {
280- realMessage = LocaleController .getString(" Done " , R .string.Done )
280+ realMessage = LocaleController .getString(R .string.Done )
281281 }
282282 AndroidUtilities .runOnUIThread {
283283 if (realMessage != null ) {
You can’t perform that action at this time.
0 commit comments