From 28a6a28af98485150aed30c8db11e48ad8c2eb93 Mon Sep 17 00:00:00 2001 From: qwe7002 Date: Fri, 30 Jul 2021 20:31:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BC=96=E8=AF=91=E7=89=88?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E4=BF=AE=E5=A4=8DURL=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .reall_network/changelog.txt | 4 +--- app/build.gradle | 5 +++-- .../java/com/qwe7002/telegram_sms_china/main_activity.java | 2 +- build.gradle | 6 ++---- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.reall_network/changelog.txt b/.reall_network/changelog.txt index e142f59e..56cc07c2 100644 --- a/.reall_network/changelog.txt +++ b/.reall_network/changelog.txt @@ -1,3 +1 @@ -- Repair SMS command function - -- Add support for sending SMS commands with dual cards +- Fix API address UI error diff --git a/app/build.gradle b/app/build.gradle index 6a4311a5..180e2c16 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -37,7 +37,7 @@ android { } dependencies { - implementation 'androidx.appcompat:appcompat:1.3.0' + implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'com.google.android.material:material:1.4.0' implementation 'androidx.browser:browser:1.3.0' @@ -49,7 +49,8 @@ dependencies { implementation 'io.github.pilgr:paperdb:2.7.1' implementation 'me.dm7.barcodescanner:zxing:1.9.13' implementation 'androidx.core:core-ktx:1.6.0' - implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.10' + //noinspection DifferentStdlibGradleVersion + implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.21' } repositories { diff --git a/app/src/main/java/com/qwe7002/telegram_sms_china/main_activity.java b/app/src/main/java/com/qwe7002/telegram_sms_china/main_activity.java index 224ae632..9de6fd3c 100644 --- a/app/src/main/java/com/qwe7002/telegram_sms_china/main_activity.java +++ b/app/src/main/java/com/qwe7002/telegram_sms_china/main_activity.java @@ -124,7 +124,7 @@ protected void onCreate(Bundle savedInstanceState) { } display_dual_sim_display_name_switch.setChecked(display_dual_sim_display_name_config); } - + api_address_editview.setText(sharedPreferences.getString("api_address", "api.telegram.org")); bot_token_editview.setText(bot_token_save); chat_id_editview.setText(chat_id_save); trusted_phone_number_editview.setText(sharedPreferences.getString("trusted_phone_number", "")); diff --git a/build.gradle b/build.gradle index 00ea3c0d..705e1016 100644 --- a/build.gradle +++ b/build.gradle @@ -4,14 +4,13 @@ buildscript { repositories { google() mavenCentral() - //io.paperdb:paperdb Need this source //noinspection JcenterRepositoryObsolete jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.0-beta05' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10" + classpath 'com.android.tools.build:gradle:7.0.0-rc01' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21" } } @@ -19,7 +18,6 @@ allprojects { repositories { google() mavenCentral() - //io.paperdb:paperdb Need this source //noinspection JcenterRepositoryObsolete jcenter()