Compare commits

..

4 Commits

Author SHA1 Message Date
ac10874bf1 [4.11.6] Update build.gradle, signing and changelog. 2022-05-27 21:09:40 +02:00
fa55b4901a [Messages/Librus] Disable text styling. (#130) 2022-05-27 18:55:24 +02:00
0f90430387 [4.11.5] Update build.gradle, signing and changelog. 2022-04-18 11:31:24 +02:00
745523c620 [UI] Fix touch events on swipe refresh pages (API 32+). (#129)
* [Hotfix] Fix touch events on swipe refresh pages (API 32)

* Add API SDK version check
2022-04-18 11:28:34 +02:00
6 changed files with 11 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<h3>Wersja 4.11.4, 2022-03-14</h3> <h3>Wersja 4.11.6, 2022-05-27</h3>
<ul> <ul>
<li>Poprawiono wyświetlanie ocen w przypadku przedmiotów z nieznaną nazwą.</li> <li>Poprawiono błędy formatowania wiadomości. @BxOxSxS</li>
</ul> </ul>
<br> <br>
<br> <br>

View File

@ -9,7 +9,7 @@
/*secret password - removed for source code publication*/ /*secret password - removed for source code publication*/
static toys AES_IV[16] = { static toys AES_IV[16] = {
0x3d, 0x32, 0x00, 0x89, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; 0xeb, 0x3c, 0x93, 0xf5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
unsigned char *agony(unsigned int laugh, unsigned char *box, unsigned char *heat); unsigned char *agony(unsigned int laugh, unsigned char *box, unsigned char *heat);

View File

@ -46,6 +46,6 @@ object Signing {
/*fun provideKey(param1: String, param2: Long): ByteArray {*/ /*fun provideKey(param1: String, param2: Long): ByteArray {*/
fun pleaseStopRightNow(param1: String, param2: Long): ByteArray { fun pleaseStopRightNow(param1: String, param2: Long): ByteArray {
return "$param1.MTIzNDU2Nzg5MDvXV/n0BA===.$param2".sha256() return "$param1.MTIzNDU2Nzg5MDocQtfDuE===.$param2".sha256()
} }
} }

View File

@ -77,7 +77,7 @@ class MessagesComposeFragment : Fragment(), CoroutineScope {
private lateinit var stylingConfig: StylingConfig private lateinit var stylingConfig: StylingConfig
private lateinit var uiConfig: UIConfig private lateinit var uiConfig: UIConfig
private val enableTextStyling private val enableTextStyling
get() = app.profile.loginStoreType != LoginStore.LOGIN_TYPE_VULCAN get() = app.profile.loginStoreType != LoginStore.LOGIN_TYPE_VULCAN && app.profile.loginStoreType != LoginStore.LOGIN_TYPE_LIBRUS
private var changedRecipients = false private var changedRecipients = false
private var changedSubject = false private var changedSubject = false
private var changedBody = false private var changedBody = false

View File

@ -17,6 +17,7 @@
package pl.szczodrzynski.edziennik.utils; package pl.szczodrzynski.edziennik.utils;
import android.content.Context; import android.content.Context;
import android.os.Build;
import android.util.AttributeSet; import android.util.AttributeSet;
import android.view.MotionEvent; import android.view.MotionEvent;
import android.view.View; import android.view.View;
@ -83,7 +84,9 @@ public class SwipeRefreshLayoutNoIndicator extends SwipeRefreshLayout {
@Override @Override
public boolean onInterceptTouchEvent(MotionEvent ev) { public boolean onInterceptTouchEvent(MotionEvent ev) {
if (Build.VERSION.SDK_INT < 32) {
ev.setSource(0x10000000); ev.setSource(0x10000000);
}
boolean parentConsumed = parent.onInterceptTouchEvent(ev); boolean parentConsumed = parent.onInterceptTouchEvent(ev);
boolean superConsumed = super.onInterceptTouchEvent(ev); boolean superConsumed = super.onInterceptTouchEvent(ev);
return parentConsumed && superConsumed; return parentConsumed && superConsumed;

View File

@ -5,8 +5,8 @@ buildscript {
kotlin_version = '1.5.30' kotlin_version = '1.5.30'
release = [ release = [
versionName: "4.11.4", versionName: "4.11.6",
versionCode: 4110499 versionCode: 4110699
] ]
setup = [ setup = [