Skip to content

Commit

Permalink
Merge pull request #13 from gohj99/develop
Browse files Browse the repository at this point in the history
Updated to 1.2.6
  • Loading branch information
gohj99 authored Nov 2, 2024
2 parents 2e096c4 + f8abe68 commit 89b9857
Show file tree
Hide file tree
Showing 34 changed files with 781 additions and 362 deletions.
1 change: 1 addition & 0 deletions .github/workflows/app-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
echo "api_id=${{ secrets.API_ID }}" > app/src/main/assets/config.properties
echo "api_hash=${{ secrets.API_HASH }}" >> app/src/main/assets/config.properties
echo "BUILD_DATE=${{ env.BUILD_DATE }}" >> app/src/main/assets/config.properties
echo "BETA=false" >> app/src/main/assets/config.properties
- uses: gradle/gradle-build-action@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/app-dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
echo "api_id=${{ secrets.API_ID }}" > app/src/main/assets/config.properties
echo "api_hash=${{ secrets.API_HASH }}" >> app/src/main/assets/config.properties
echo "BUILD_DATE=${{ env.BUILD_DATE }}" >> app/src/main/assets/config.properties
echo "BETA=true" >> app/src/main/assets/config.properties
- uses: gradle/gradle-build-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions README.ja-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ adb install Telewatch.apk
- テキスト、画像、ビデオの閲覧またはダウンロード
- 画像やビデオの保存
- テキスト送信
- メッセージ編集処理
- メッセージ削除処理
- メッセージ削除
- クラウンローテーションのサポート

## 最小構成と推奨構成
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ adb install Telewatch.apk
- Viewing or downloading text, images, and videos
- Saving images or videos
- Text messaging
- Message editing
- Message deletion
- Support for rotating the digital crown

Expand Down
3 changes: 1 addition & 2 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ adb install Telewatch.apk
- 文字、图片、视频查看或下载
- 保存图片或视频
- 文字发送
- 编辑消息处理
- 删除消息处理
- 删除消息
- 支持表冠旋转

## 最低配置和推荐配置
Expand Down
3 changes: 1 addition & 2 deletions README.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ adb install Telewatch.apk
- 文字、圖片、影片檢視或下載
- 儲存圖片或視頻
- 文字發送
- 編輯訊息處理
- 刪除訊息處理
- 刪除訊息
- 支援錶冠旋轉

## 最低配置和建議配置
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android {
minSdk = 26
//noinspection OldTargetApi
targetSdk = 34
versionCode = 16
versionName = "1.2.5"
versionCode = 17
versionName = "1.2.6"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
android:theme="@style/Theme.Telewatch"
tools:ignore="WearStandaloneAppFlag"
tools:targetApi="31">
<activity
android:name=".IsBetaActivity"
android:exported="false"
android:label="@string/Beta_title"
android:theme="@style/Theme.Telewatch" />
<activity
android:name=".NetworkSettingActivity"
android:exported="false"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/assets/config.properties.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
api_id=YOU_API_ID
api_hash=YOU_API_HASH
BUILD_DATE=2024
BUILD_DATE=2024
BETA=false
2 changes: 1 addition & 1 deletion app/src/main/java/com/gohj99/telewatch/AboutActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AboutActivity : ComponentActivity() {
}
}

private fun loadConfig(context: Context): Properties {
fun loadConfig(context: Context): Properties {
val properties = Properties()
try {
val inputStream = context.assets.open("config.properties")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.gohj99.telewatch.ui.theme.TelewatchTheme
import com.gohj99.telewatch.ui.verticalRotaryScroll

class AllowDataCollectionActivity : ComponentActivity() {

Expand Down Expand Up @@ -79,7 +80,8 @@ fun SplashAllowDataCollectionScreen(set: (Boolean) -> Unit) {
Column(
modifier = Modifier
.fillMaxSize()
.verticalScroll(scrollState),
.verticalScroll(scrollState)
.verticalRotaryScroll(scrollState),
verticalArrangement = Arrangement.Center,
horizontalAlignment = Alignment.CenterHorizontally
) {
Expand Down
Loading

0 comments on commit 89b9857

Please sign in to comment.