mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
fix poll max chars
This commit is contained in:
parent
f11a5c544e
commit
12c4e0465e
2 changed files with 3 additions and 3 deletions
|
@ -169,8 +169,8 @@ public class Instance implements Serializable {
|
|||
public int min_expiration;
|
||||
@SerializedName("max_options")
|
||||
public int max_options = 4;
|
||||
@SerializedName("max_option_chars")
|
||||
public int max_option_chars = 25;
|
||||
@SerializedName("max_characters_per_option")
|
||||
public int max_option_chars = 50;
|
||||
@SerializedName("max_expiration")
|
||||
public int max_expiration;
|
||||
}
|
||||
|
|
|
@ -319,7 +319,7 @@ public class FragmentMastodonDirectMessage extends Fragment {
|
|||
ComposePollBinding composePollBinding = ComposePollBinding.inflate(LayoutInflater.from(requireActivity()), new LinearLayout(requireActivity()), false);
|
||||
alertPoll.setView(composePollBinding.getRoot());
|
||||
int max_entry = 4;
|
||||
int max_length = 25;
|
||||
int max_length = 50;
|
||||
final int[] pollCountItem = {2};
|
||||
|
||||
if (instanceInfo != null && instanceInfo.configuration != null && instanceInfo.configuration.pollsConf != null) {
|
||||
|
|
Loading…
Reference in a new issue