feat: add settings option to customise the MMS file size limit
This commit is contained in:
parent
b317507370
commit
c3c2ce4ee3
27 changed files with 246 additions and 8 deletions
|
|
@ -764,3 +764,15 @@ fun Context.getLockScreenVisibilityText(type: Int) = getString(
|
|||
else -> R.string.nothing
|
||||
}
|
||||
)
|
||||
|
||||
fun Context.getMMSFileLimitText(size: Long) = getString(
|
||||
when (size) {
|
||||
FILE_SIZE_100_KB -> R.string.mms_file_size_limit_100kb
|
||||
FILE_SIZE_200_KB -> R.string.mms_file_size_limit_200kb
|
||||
FILE_SIZE_300_KB -> R.string.mms_file_size_limit_300kb
|
||||
FILE_SIZE_600_KB -> R.string.mms_file_size_limit_600kb
|
||||
FILE_SIZE_1000_KB -> R.string.mms_file_size_limit_1000kb
|
||||
FILE_SIZE_2000_KB -> R.string.mms_file_size_limit_2000kb
|
||||
else -> R.string.mms_file_size_limit_none
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue