mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
a4e18c515c
Closes #2647 // FREEBIE
12 lines
311 B
Java
12 lines
311 B
Java
package org.thoughtcrime.securesms.util;
|
|
|
|
public class MmsCharacterCalculator extends CharacterCalculator {
|
|
|
|
private static final int MAX_SIZE = 5000;
|
|
|
|
@Override
|
|
public CharacterState calculateCharacters(int charactersSpent) {
|
|
return new CharacterState(1, MAX_SIZE - charactersSpent, MAX_SIZE);
|
|
}
|
|
}
|