Skip to content

Commit

Permalink
(ready):ready for 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TigerBeanst committed Sep 12, 2020
1 parent c83eef2 commit d4271f6
Show file tree
Hide file tree
Showing 48 changed files with 651 additions and 438 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ android {
defaultConfig {
applicationId "com.jakting.shareclean"
minSdkVersion 26
targetSdkVersion 29
versionCode 20200723
versionName "0.1.4"
targetSdkVersion 30
versionCode 20200912
versionName "1.0.0"

}

Expand All @@ -38,12 +38,12 @@ dependencies {
implementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.core:core-ktx:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
implementation "androidx.recyclerview:recyclerview:1.1.0"
implementation "androidx.cardview:cardview:1.0.0"
implementation 'com.google.android.material:material:1.3.0-alpha02'
implementation 'com.alibaba:fastjson:1.1.71.android'
implementation "com.github.topjohnwu.libsu:core:2.5.2"
implementation "com.github.topjohnwu.libsu:core:3.0.2"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation 'com.drakeet.about:about:2.4.1'
implementation 'com.drakeet.multitype:multitype:4.0.0'
Expand Down
17 changes: 14 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.jakting.shareclean">

<queries>
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>
<application
android:allowBackup="true"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
Expand All @@ -14,6 +19,10 @@
android:name=".SettingsActivity"
android:label="@string/setting_title"
android:parentActivityName=".MainActivity"/>
<activity
android:name=".MiscActivity"
android:label="@string/misc_card_title"
android:parentActivityName=".MainActivity"/>
<activity
android:name=".AboutActivity"
android:theme="@style/AppTheme.About" />
Expand All @@ -23,7 +32,9 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".AppListActivity" />
<activity android:name=".AppsManagementActivity"
android:label="@string/app_manage_card_title"
android:parentActivityName=".MainActivity" />
</application>

</manifest>
Binary file modified app/src/main/ic_launcher-playstore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 9 additions & 12 deletions app/src/main/java/com/jakting/shareclean/AboutActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ class AboutActivity : AbsAboutActivity() {
slogan: TextView,
version: TextView
) {
// if (!getDarkModeStatus(this)) {
// window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
// }
icon.setImageResource(R.mipmap.ic_launcher)
slogan.text = getString(R.string.app_name)
version.text = "v" + BuildConfig.VERSION_NAME
Expand All @@ -31,9 +28,9 @@ class AboutActivity : AbsAboutActivity() {
}

override fun onItemsCreated(items: MutableList<Any>) {
items.add(Category("介绍与帮助"))
items.add(Category(getString(R.string.about_page_info_title)))
items.add(Card(getString(R.string.about_page_info)))
items.add(Category("Developers"))
items.add(Category(getString(R.string.about_page_dev_title)))
items.add(
Contributor(
R.drawable.dev_hjthjthjt,
Expand Down Expand Up @@ -125,39 +122,39 @@ class AboutActivity : AbsAboutActivity() {
)
items.add(
License(
"AndroidX Core",
"Google",
"SmartRefreshLayout",
"scwang90",
License.APACHE_2,
"https://source.android.com/"
"https://github.com/scwang90/SmartRefreshLayout"
)
)
items.add(
License(
"AndroidX ConstraintLayout",
"AndroidX Core",
"Google",
License.APACHE_2,
"https://source.android.com/"
)
)
items.add(
License(
"AndroidX RecyclerView",
"AndroidX ConstraintLayout",
"Google",
License.APACHE_2,
"https://source.android.com/"
)
)
items.add(
License(
"AndroidX CardView",
"AndroidX RecyclerView",
"Google",
License.APACHE_2,
"https://source.android.com/"
)
)
items.add(
License(
"AndroidX SwipeRefreshLayout",
"AndroidX CardView",
"Google",
License.APACHE_2,
"https://source.android.com/"
Expand Down
229 changes: 0 additions & 229 deletions app/src/main/java/com/jakting/shareclean/AppListActivity.kt

This file was deleted.

Loading

0 comments on commit d4271f6

Please sign in to comment.