Commit cd40704d authored by Thomas's avatar Thomas
Browse files

force left alignment with maths

parent ac9eb643
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -866,8 +866,10 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
                    } else {
                        Toasty.info(ComposeActivity.this, getString(R.string.toot_error_no_content), Toasty.LENGTH_SHORT).show();
                    }
                    if (statusDrafts.size() > 0) {
                        statusDrafts.get(statusDrafts.size() - 1).submitted = false;
                        composeAdapter.notifyItemChanged(statusList.size() - 1);
                    }
                };
                mainHandler.post(myRunnable);
                return;
@@ -967,7 +969,7 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
        boolean warnOnly = sharedpreferences.getBoolean(getString(R.string.SET_MANDATORY_ALT_TEXT_WARN), true);
        if (checkAlt) {
            for (Status status : statusDraft.statusDraftList) {
                if (status.media_attachments != null && status.media_attachments.size() > 0) {
                if (status != null && status.media_attachments != null && status.media_attachments.size() > 0) {
                    for (Attachment attachment : status.media_attachments) {
                        if (attachment.description == null || attachment.description.trim().isEmpty()) {
                            return warnOnly ? -2 : -1;
+3 −0
Original line number Diff line number Diff line
@@ -90,6 +90,9 @@ public class FragmentLoginPickInstanceMastodon extends Fragment implements Insta
        binding.regCategory.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
            @Override
            public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
                if (requireActivity().isFinishing() || !isAdded()) {
                    return;
                }
                if (itemA[position].compareTo("custom") != 0) {
                    JoinInstancesVM joinInstancesVM = new ViewModelProvider(requireActivity()).get(JoinInstancesVM.class);
                    joinInstancesVM.getInstances(itemA[position]).observe(requireActivity(), instances -> {
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@

</script>

<div style="text-align: center;">
<div style="text-align: left;">
    <span id='math'></span>
</div>
</body>
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ Added:
- Visual indicator when fetching missing messages

Changed:
- Maths formula aligned to the left

Fixed:

- Some crashes
 No newline at end of file