Remove about

This commit is contained in:
NekoInverter 2021-01-25 19:57:51 +08:00
parent 3484f96373
commit 992e27507d
No known key found for this signature in database
GPG Key ID: 280D6CCCF95715F9
5 changed files with 4 additions and 9 deletions

View File

@ -1,5 +1,4 @@
apply plugin: 'com.android.application'
apply plugin: 'com.google.android.gms.oss-licenses-plugin'
android {
compileSdkVersion 30
@ -87,7 +86,6 @@ dependencies {
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation "com.github.topjohnwu.libsu:core:2.5.1"
implementation 'com.google.android.gms:play-services-oss-licenses:17.0.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.takisoft.preferencex:preferencex:1.1.0'

View File

@ -9,7 +9,6 @@ import androidx.appcompat.app.ActionBar;
import androidx.core.text.HtmlCompat;
import com.bumptech.glide.Glide;
import com.google.android.gms.oss.licenses.OssLicensesMenuActivity;
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import org.meowcat.edxposed.manager.BuildConfig;
@ -51,8 +50,6 @@ public class AboutActivity extends BaseActivity {
}
binding.appVersion.setText(BuildConfig.VERSION_NAME);
binding.licensesView.setOnClickListener(v12 -> startActivity(new Intent(this, OssLicensesMenuActivity.class)));
binding.tabSupportModuleDescription.setText(getString(R.string.support_modules_description,
getString(R.string.module_support)));

View File

@ -71,11 +71,11 @@ public class MainActivity extends BaseActivity implements RepoLoader.RepoListene
intent.setClass(getApplicationContext(), LogsActivity.class);
startActivity(intent);
});
binding.about.setOnClickListener(v -> {
/*binding.about.setOnClickListener(v -> {
Intent intent = new Intent();
intent.setClass(getApplicationContext(), AboutActivity.class);
startActivity(intent);
});
});*/
TooltipCompat.setTooltipText(binding.menuMore, getString(androidx.appcompat.R.string.abc_action_menu_overflow_description));
binding.menuMore.setOnClickListener(v -> {
PopupMenu appMenu = new PopupMenu(MainActivity.this, binding.menuMore);

View File

@ -303,7 +303,7 @@
android:text="@string/Settings"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
</LinearLayout>
<!--
<LinearLayout
android:id="@+id/about"
android:layout_width="match_parent"
@ -330,6 +330,7 @@
android:text="@string/About"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" />
</LinearLayout>
-->
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -8,7 +8,6 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.google.android.gms:oss-licenses-plugin:0.10.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files