Skip to content

Commit dd1d202

Browse files
About: removing app download links
it is already moved to Settings Signed-off-by: sunilpaulmathew <sunil.kde@gmail.com>
1 parent b1678f0 commit dd1d202

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

app/src/main/java/com/grarak/kerneladiutor/fragments/other/AboutFragment.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,6 @@ public void onClick(RecyclerViewItem item) {
9292
}
9393
});
9494

95-
DescriptionView appdownloads = new DescriptionView();
96-
appdownloads.setTitle(getString(R.string.app_downloads));
97-
appdownloads.setSummary(getString(R.string.app_downloads_summary));
98-
appdownloads.setOnItemClickListener(new RecyclerViewItem.OnItemClickListener() {
99-
@Override
100-
public void onClick(RecyclerViewItem item) {
101-
Utils.launchUrl("https://github.com/SmartPack/SmartPack-Kernel-Manager/releases/latest", getActivity());
102-
}
103-
});
104-
10595
DescriptionView changelogs = new DescriptionView();
10696
changelogs.setTitle(getString(R.string.change_logs));
10797
changelogs.setSummary(getString(R.string.change_logs_summary));
@@ -123,7 +113,6 @@ public void onClick(RecyclerViewItem item) {
123113
});
124114

125115
about.addItem(sourcecode);
126-
about.addItem(appdownloads);
127116
about.addItem(changelogs);
128117
about.addItem(donatetome);
129118
items.add(about);

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,11 +884,10 @@
884884
<!-- About -->
885885
<string name="about_me" translatable="false">SmartPack-Kernel Manager is a modified version of official Kernel Adiutor, which is originally developed by Willi Ye aka Grarak. All the credits goes to the original developer.\n\nIf you like SmartPack-Kernel, please consider to donate to me as it is helpful to continue this project more active, though it is not at all necessary.</string>
886886
<string name="libraries_used">Libraries used</string>
887+
<string name="app_updates">SmartPack-Kernel Manager Updates</string>
887888
<string name="app_version">Version</string>
888889
<string name="source_code">Source Code</string>
889890
<string name="source_code_summary">Visit SmartPack-Kernel Manager GitHub repo</string>
890-
<string name="app_downloads">Downloads</string>
891-
<string name="app_downloads_summary">Visit app release page</string>
892891
<string name="change_logs">Change-logs</string>
893892
<string name="change_logs_summary">View Change-logs</string>
894893
<string name="donate_me">Donate to Me</string>

app/src/main/res/xml/settings.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto">
44

5+
<PreferenceCategory
6+
android:key="app_updates"
7+
android:title="@string/app_updates">
8+
59
<Preference
610
android:key="check_update"
711
android:summary="@string/check_update_summary"
812
android:title="@string/check_update" />
13+
</PreferenceCategory>
914

1015
<SwitchPreferenceCompat
1116
android:key="useretardedmeasurement"

0 commit comments

Comments
 (0)