Skip to content

Commit

Permalink
Telegram v11.0.0, Cherrygram ver. 8.5.0
Browse files Browse the repository at this point in the history
πŸ‡ΊπŸ‡Έ Changelog:
β€” Update to Telegram v11.0.0,
β€” Changed the logic of front flashlight in CameraX (thanks to exteragram for animation),
β€” Long tap on bot button to get a callback (also tnx to exteragram),
β€” Direct Share improvements (added back long click on send button),
β€” Some improvements for CameraX (zoom slider will now stay at 0.5 if "Start from ultrawide" feat is disabled),
β€” Custom saved messages chat support for Browser bookmarks,
β€” Added Telegram Browser to chat context menu (enable it in Cherrygram Chats Preferences -> Chat menu),
β€” Removed Cherrygram's feats from Camera and Camera2 (zoom & exposure sliders),
β€” Bug fixes and improvements.

πŸ‡·πŸ‡Ί Бписок ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ:
β€” ОбновлСниС Π΄ΠΎ Telegram v11.0.0,
β€” ИзмСнСна Π»ΠΎΠ³ΠΈΠΊΠ° Ρ€Π°Π±ΠΎΡ‚Ρ‹ ΠΏΠ΅Ρ€Π΅Π΄Π½Π΅ΠΉ Π²ΡΠΏΡ‹ΡˆΠΊΠΈ Π² CameraX (спасибо exteragram Π·Π° Π°Π½ΠΈΠΌΠ°Ρ†ΠΈΡŽ),
β€” Π—Π°ΠΆΠ°Ρ‚ΠΈΠ΅ ΠΊΠ½ΠΎΠΏΠΊΠΈ Π±ΠΎΡ‚Π° для ΠΏΠΎΠ»ΡƒΡ‡Π΅Π½ΠΈΠ΅ callback (Ρ‚ΠΎΠΆΠ΅ спасибо exteragram),
β€” Π£Π»ΡƒΡ‡ΡˆΠ΅Π½ΠΈΡ мСню пСрСсылки Direct Share (Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΎ Π΄ΠΎΠ»Π³ΠΎΠ΅ Π·Π°ΠΆΠ°Ρ‚ΠΈΠ΅ ΠΊΠ½ΠΎΠΏΠΊΠΈ, ΠΊΠ°ΠΊ Π² Telegram),
β€” НСбольшиС ΡƒΠ»ΡƒΡ‡ΡˆΠ΅Π½ΠΈΡ для CameraX (Ρ‚Π΅ΠΏΠ΅Ρ€ΡŒ слайдСр Π·ΡƒΠΌΠ° Π±ΡƒΠ΄Π΅Ρ‚ установлСн Π² ΠΏΠΎΠ»ΠΎΠΆΠ΅Π½ΠΈΠΈ "0.5", Ссли функция "ΠΠ°Ρ‡ΠΈΠ½Π°Ρ‚ΡŒ с ΡˆΠΈΡ€ΠΈΠΊΠ°" Π²Ρ‹ΠΊΠ»ΡŽΡ‡Π΅Π½Π°),
β€” ΠŸΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° кастомных Ρ‡Π°Ρ‚ΠΎΠ² для ΠΈΠ·Π±Ρ€Π°Π½Π½Ρ‹Ρ… Π² Π·Π°ΠΊΠ»Π°Π΄ΠΊΠ°Ρ… Π±Ρ€Π°ΡƒΠ·Π΅Ρ€Π° Telegram,
β€” Π”ΠΎΠ±Π°Π²Π»Π΅Π½ Telegram Browser Π² контСкстноС мСню Ρ‡Π°Ρ‚Π° (Π²ΠΊΠ». Π² Настройках Π§Π°Ρ‚ΠΎΠ² Cherrygram -> МСню Ρ‡Π°Ρ‚Π°),
β€” Π£Π΄Π°Π»Π΅Π½Ρ‹ Ρ„ΡƒΠ½ΠΊΡ†ΠΈΠΈ Cherrygram ΠΈΠ· Camera1 ΠΈ Camera2 (слайдСры Π·ΡƒΠΌΠ° ΠΈ экспозиции),
β€” Π˜ΡΠΏΡ€Π°Π²Π»Π΅Π½ΠΈΡ Π±Π°Π³ΠΎΠ² ΠΈ ΡƒΠ»ΡƒΡ‡ΡˆΠ΅Π½ΠΈΡ.
  • Loading branch information
arsLan4k1390 committed Aug 18, 2024
1 parent b588d9e commit 528c6ac
Show file tree
Hide file tree
Showing 493 changed files with 37,727 additions and 8,435 deletions.
13 changes: 8 additions & 5 deletions TMessagesProj/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dependencies {
//Firebase
implementation platform('com.google.firebase:firebase-bom:32.3.1')
implementation 'com.google.firebase:firebase-messaging'
implementation 'com.google.firebase:firebase-config'
implementation 'com.google.firebase:firebase-datatransport'
implementation 'com.google.firebase:firebase-appindexing:20.0.0'
implementation 'com.google.firebase:firebase-crashlytics'
Expand All @@ -49,7 +50,7 @@ dependencies {
implementation 'com.google.firebase:firebase-analytics-ktx'

//Google services
implementation 'com.google.android.gms:play-services-maps:18.2.0'
implementation 'com.google.android.gms:play-services-maps:18.1.0'
implementation 'com.google.android.gms:play-services-auth:21.2.0'
implementation 'com.google.android.gms:play-services-vision:20.1.3'
implementation 'com.google.android.gms:play-services-wearable:18.2.0'
Expand All @@ -58,17 +59,17 @@ dependencies {
implementation 'com.googlecode.mp4parser:isoparser:1.0.6'
implementation 'com.stripe:stripe-android:2.0.2'
implementation 'com.google.mlkit:language-id:17.0.5'
implementation "com.android.billingclient:billing:6.2.0"
implementation 'com.android.billingclient:billing:6.0.1'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.google.guava:guava:31.1-android'
implementation 'com.airbnb.android:lottie:6.4.0'
implementation 'com.google.android.play:integrity:1.3.0'
implementation 'com.google.android.play:review-ktx:2.0.1'
// implementation 'com.google.android.gms:play-services-safetynet:18.1.0'

//Cherrygram
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
implementation 'com.google.android.play:review-ktx:2.0.1'

// CameraX Implementation
def camerax_version = "1.3.0-alpha07"
Expand Down Expand Up @@ -209,7 +210,9 @@ def getProps(String propName) {

task checkVisibility {
doFirst {
def isPrivateBuild = project.gradle.startParameter.taskNames.find { it.contains("HA_private") }
def isPrivateBuild = project.gradle.startParameter.taskNames.find {
it.contains("HA_private") || it.contains("Debug") || it.contains("Release")
}
def isPublicAllowed = !project.hasProperty("IS_PRIVATE") || !project.property("IS_PRIVATE").toBoolean()
if (!isPrivateBuild && !isPublicAllowed) {
throw new GradleException("Building public version of private code!")
Expand Down
2 changes: 1 addition & 1 deletion TMessagesProj/config/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyBd1yu9V_Z-ktNND67u1gF0zH6AjMDRVoM" />

<service
android:name="org.telegram.messenger.GcmPushListenerService" android:exported="false">
android:name="org.telegram.messenger.GcmPushListenerService" android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
Expand Down
4 changes: 2 additions & 2 deletions TMessagesProj/config/debug/AndroidManifest_SDK23.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<permission android:name="${applicationId}.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>


<application
android:icon="@mipmap/icon_launcher_cherry"
Expand All @@ -33,7 +33,7 @@
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyBd1yu9V_Z-ktNND67u1gF0zH6AjMDRVoM" />

<service
android:name="org.telegram.messenger.GcmPushListenerService" android:exported="false">
android:name="org.telegram.messenger.GcmPushListenerService" android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
Expand Down
3 changes: 2 additions & 1 deletion TMessagesProj/config/release/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>

<permission android:name="${applicationId}.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
Expand All @@ -32,7 +33,7 @@
<meta-data android:name="com.google.android.maps.v2.API_KEY" android:value="AIzaSyBd1yu9V_Z-ktNND67u1gF0zH6AjMDRVoM" />

<service
android:name="org.telegram.messenger.GcmPushListenerService" android:exported="false">
android:name="org.telegram.messenger.GcmPushListenerService" android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
Expand Down
2 changes: 1 addition & 1 deletion TMessagesProj/config/release/AndroidManifest_SDK23.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<service
android:name="org.telegram.messenger.GcmPushListenerService"
android:exported="false">
android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
Expand Down
4 changes: 3 additions & 1 deletion TMessagesProj/jni/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ elseif(${ANDROID_ABI} STREQUAL "arm64-v8a")
rlottie/src/vector/pixman/pixman-arma64-neon-asm.S)
endif()


#flac
add_library(flac STATIC
exoplayer/libFLAC/bitmath.c
Expand Down Expand Up @@ -447,7 +448,8 @@ add_library(${NATIVE_LIB} SHARED
exoplayer/ffmpeg_jni.cc
fast-edge.cpp
genann.c
secureid_ocr.cpp)
secureid_ocr.cpp
)

target_compile_options(${NATIVE_LIB} PUBLIC
-ffast-math -Os -funroll-loops -ffast-math -fno-strict-aliasing -fno-math-errno)
Expand Down
Binary file modified TMessagesProj/jni/ffmpeg/arm64-v8a/libavcodec.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/arm64-v8a/libavformat.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/arm64-v8a/libavresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/arm64-v8a/libavutil.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/arm64-v8a/libswresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/arm64-v8a/libswscale.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/arm64-v8a/libvpx.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/armeabi-v7a/libavcodec.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/armeabi-v7a/libavformat.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/armeabi-v7a/libavresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/armeabi-v7a/libavutil.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/armeabi-v7a/libswresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/armeabi-v7a/libswscale.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/armeabi-v7a/libvpx.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86/libavcodec.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86/libavformat.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86/libavresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86/libavutil.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86/libswresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86/libswscale.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86/libvpx.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86_64/libavcodec.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86_64/libavformat.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86_64/libavresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86_64/libavutil.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86_64/libswresample.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86_64/libswscale.a
Binary file not shown.
Binary file modified TMessagesProj/jni/ffmpeg/x86_64/libvpx.a
Binary file not shown.
6 changes: 6 additions & 0 deletions TMessagesProj/jni/tgnet/ApiScheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@ void TL_user::readParams(NativeByteBuffer *stream, int32_t instanceNum, bool &er
profile_color_color = stream->readInt32(&error);
profile_color_background_emoji_id = stream->readInt64(&error);
}
if ((flags2 & 4096) != 0) {
bot_active_users = stream->readInt32(&error);
}
}

void TL_user::serializeToStream(NativeByteBuffer *stream) {
Expand Down Expand Up @@ -605,6 +608,9 @@ void TL_user::serializeToStream(NativeByteBuffer *stream) {
stream->writeInt32(profile_color_color);
stream->writeInt32(profile_color_background_emoji_id);
}
if ((flags2 & 4096) != 0) {
stream->writeInt32(bot_active_users);
}
}

InputPeer *InputPeer::TLdeserialize(NativeByteBuffer *stream, uint32_t constructor, int32_t instanceNum, bool &error) {
Expand Down
3 changes: 2 additions & 1 deletion TMessagesProj/jni/tgnet/ApiScheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ class User : public TLObject {
int64_t color_background_emoji_id;
int32_t profile_color_color;
int64_t profile_color_background_emoji_id;
int32_t bot_active_users;

static User *TLdeserialize(NativeByteBuffer *stream, uint32_t constructor, int32_t instanceNum, bool &error);
};
Expand All @@ -404,7 +405,7 @@ class TL_userEmpty : public User {
class TL_user : public User {

public:
static const uint32_t constructor = 0x215c4438;
static const uint32_t constructor = 0x83314fca;

void readParams(NativeByteBuffer *stream, int32_t instanceNum, bool &error);
void serializeToStream(NativeByteBuffer *stream);
Expand Down
44 changes: 21 additions & 23 deletions TMessagesProj/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<uses-feature android:name="android.hardware.microphone" android:required="false" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera2" android:required="false" />
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
<uses-feature android:name="android.hardware.location.network" android:required="false" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.LOCATION" android:required="false" />
<uses-feature android:name="android.hardware.sensor.proximity" android:required="false" />

<uses-permission android:name="android.permission.READ_CLIPBOARD"/>
Expand All @@ -33,10 +29,10 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/>
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
Expand All @@ -55,7 +51,7 @@
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT"/>
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
Expand All @@ -80,13 +76,10 @@
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_READ"/>
<uses-permission android:name="me.everything.badger.permission.BADGE_COUNT_WRITE"/>
<uses-permission android:name="com.android.vending.BILLING"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="29" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace" />

<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<uses-permission android:name="android.permission.READ_CALENDAR"> </uses-permission>
<uses-permission android:name="android.permission.WRITE_CALENDAR"> </uses-permission>

Expand All @@ -106,22 +99,22 @@
android:restoreAnyVersion="true"
android:backupAgent=".BackupAgent"
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:icon="@mipmap/icon_launcher_cherry"
android:roundIcon="@mipmap/icon_launcher_cherry"
android:largeHeap="true"
android:theme="@style/Theme.TMessages.Start"
android:manageSpaceActivity="org.telegram.ui.ExternalActionActivity"
android:supportsRtl="false"
android:requestLegacyExternalStorage="true"
android:preserveLegacyExternalStorage="true"
android:allowAudioPlaybackCapture="true"
tools:replace="android:supportsRtl">
tools:replace="android:supportsRtl"
android:usesCleartextTraffic="true"
>
<!-- usesCleartextTraffic for browser supporting opening http:// links -->

<activity-alias
android:enabled="true"
android:name="uz.unnarsx.cherrygram.CG_Icon_Cherry"
android:targetActivity="org.telegram.ui.LaunchActivity"
android:icon="@mipmap/icon_launcher_cherry"
android:exported="true">

<intent-filter>
Expand Down Expand Up @@ -177,7 +170,6 @@
<meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" />
</activity-alias>


<activity-alias
android:enabled="false"
android:name="uz.unnarsx.cherrygram.CG_Icon_Dark_Bra"
Expand Down Expand Up @@ -671,7 +663,13 @@
<data android:host="t.me" android:scheme="http" />
<data android:host="t.me" android:scheme="https" />
</intent-filter>
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:priority="1">
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:roundIcon="@mipmap/icon_launcher_cherry" android:priority="1">
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="tonsite" />
</intent-filter>
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:roundIcon="@mipmap/icon_launcher_cherry" android:priority="1">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
Expand Down Expand Up @@ -717,7 +715,7 @@
android:stateNotNeeded="true"
android:theme="@style/Theme.TMessages.Transparent"
android:exported="true">
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:priority="1">
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:roundIcon="@mipmap/icon_launcher_cherry" android:priority="1">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
Expand All @@ -730,7 +728,7 @@
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:windowSoftInputMode="adjustPan"
android:exported="true">
<intent-filter android:icon="@mipmap/icon_launcher_cherry">
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:roundIcon="@mipmap/icon_launcher_cherry">
<action android:name="org.telegram.passport.AUTHORIZE"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
Expand All @@ -752,7 +750,7 @@
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:windowSoftInputMode="adjustPan"
android:exported="true">
<intent-filter android:icon="@mipmap/icon_launcher_cherry">
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:roundIcon="@mipmap/icon_launcher_cherry">
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
</intent-filter>
</activity>
Expand All @@ -762,7 +760,7 @@
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:windowSoftInputMode="adjustPan"
android:exported="true">
<intent-filter android:icon="@mipmap/icon_launcher_cherry">
<intent-filter android:icon="@mipmap/icon_launcher_cherry" android:roundIcon="@mipmap/icon_launcher_cherry">
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
</intent-filter>
</activity>
Expand Down
2 changes: 1 addition & 1 deletion TMessagesProj/src/main/assets/currencies.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions TMessagesProj/src/main/assets/darkblue.attheme
Original file line number Diff line number Diff line change
Expand Up @@ -441,5 +441,8 @@ code_string=-7806088
code_operator=2147483647
code_number=-10887465
code_comment=2147483647
iv_background=-16777216
iv_backgroundGray=-14737633
iv_navigationBackground=-16777216
table_background=177390847
table_border=436207615
Binary file modified TMessagesProj/src/main/assets/fonts/num.otf
Binary file not shown.
3 changes: 3 additions & 0 deletions TMessagesProj/src/main/assets/night.attheme
Original file line number Diff line number Diff line change
Expand Up @@ -466,5 +466,8 @@ code_string=-7806088
code_operator=2147483647
code_number=-10887465
code_comment=2147483647
iv_background=-16777216
iv_backgroundGray=-14737633
iv_navigationBackground=-16777216
table_background=177390847
table_border=436207615
3 changes: 2 additions & 1 deletion TMessagesProj/src/main/assets/shaders/fragment4.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ uniform sampler2D u_BackgroundTexture;
uniform float f_xOffset;
uniform float f_alpha;
uniform mat4 world;
uniform float white;

varying vec3 vNormal;
varying vec2 vUV;
Expand Down Expand Up @@ -89,5 +90,5 @@ void main() {
clamp(flecksSpec * abs(vNormal.z) * (flecksNormal.z), 0.2, 0.3) - .2
);

gl_FragColor = color * f_alpha;
gl_FragColor = mix(color * f_alpha, vec4(1.0), white);
}
Loading

0 comments on commit 528c6ac

Please sign in to comment.