Move MAX_LOG_UPLOAD_SIZE to RageshakeConfig

This commit is contained in:
Benoit Marty
2024-06-13 17:43:45 +02:00
committed by Benoit Marty
parent a6fe0ddc9b
commit 580622da9a
3 changed files with 6 additions and 8 deletions

View File

@@ -40,9 +40,4 @@ object ApplicationConfig {
* For Element, the value is "Element". We use the same name for desktop and mobile for now.
*/
const val DESKTOP_APPLICATION_NAME: String = "Element"
/**
* The maximum size of the upload request. Default value is just below CloudFlare's max request size.
*/
const val MAX_LOG_UPLOAD_SIZE = 50 * 1024 * 1024L
}

View File

@@ -19,4 +19,8 @@ package io.element.android.appconfig
object RageshakeConfig {
const val BUG_REPORT_URL = "https://riot.im/bugreports/submit"
const val BUG_REPORT_APP_NAME = "element-x-android"
/**
* The maximum size of the upload request. Default value is just below CloudFlare's max request size.
*/
const val MAX_LOG_UPLOAD_SIZE = 50 * 1024 * 1024L
}