@@ -82,7 +82,7 @@ private void aboutInit(List<RecyclerViewItem> items) {
82
82
DescriptionView versioninfo = new DescriptionView ();
83
83
versioninfo .setDrawable (getResources ().getDrawable (R .drawable .ic_on_boot_notification ));
84
84
versioninfo .setTitle (getString (R .string .version ,"" ).replace (": " , "" ));
85
- versioninfo .setSummary ((Utils .isDonated (requireActivity ()) ? " Pro " : " " ) + BuildConfig .VERSION_NAME );
85
+ versioninfo .setSummary ((( Utils .isDonated (requireActivity ()) || ! Utils . isFDroidFlavor ( requireActivity () )) ? " Pro " : " " ) + BuildConfig .VERSION_NAME );
86
86
versioninfo .setOnItemClickListener (item -> {
87
87
Intent settings = new Intent (Settings .ACTION_APPLICATION_DETAILS_SETTINGS );
88
88
settings .addFlags (Intent .FLAG_ACTIVITY_NEW_TASK );
@@ -127,7 +127,7 @@ private void aboutInit(List<RecyclerViewItem> items) {
127
127
appStore .setTitle (getString (Utils .isFDroidFlavor (requireActivity ()) ? R .string .fdroid : R .string .playstore ));
128
128
appStore .setSummary (getString (Utils .isFDroidFlavor (requireActivity ()) ? R .string .fdroid_summary : R .string .playstore_summary ));
129
129
appStore .setOnItemClickListener (item -> Utils .launchUrl (Utils .isFDroidFlavor (requireActivity ()) ? "https://f-droid.org/packages/com.smartpack.kernelmanager" :
130
- "https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.release " , requireActivity ()));
130
+ "https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro " , requireActivity ()));
131
131
132
132
DescriptionView donatetome = new DescriptionView ();
133
133
donatetome .setDrawable (getResources ().getDrawable (R .drawable .ic_donate ));
@@ -145,7 +145,7 @@ private void aboutInit(List<RecyclerViewItem> items) {
145
145
shareapp .putExtra (Intent .EXTRA_SUBJECT , getString (R .string .app_name ));
146
146
shareapp .putExtra (Intent .EXTRA_TEXT , getString (R .string .share_app_message ,BuildConfig .VERSION_NAME )
147
147
+ (Utils .isFDroidFlavor (requireActivity ()) ? " F-Droid: https://f-droid.org/packages/com.smartpack.kernelmanager"
148
- : " Google Play: https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.release " ));
148
+ : " Google Play: https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager.pro " ));
149
149
shareapp .setType ("text/plain" );
150
150
Intent shareIntent = Intent .createChooser (shareapp , null );
151
151
startActivity (shareIntent );
@@ -157,7 +157,9 @@ private void aboutInit(List<RecyclerViewItem> items) {
157
157
items .add (support );
158
158
items .add (changelogs );
159
159
items .add (sourcecode );
160
- items .add (donatetome );
160
+ if (Utils .isFDroidFlavor (requireActivity ())) {
161
+ items .add (donatetome );
162
+ }
161
163
items .add (share );
162
164
items .add (appStore );
163
165
}
@@ -202,7 +204,7 @@ private void librariesInit(List<RecyclerViewItem> items) {
202
204
sUtils .getDrawable (R .mipmap .ic_launcher , requireActivity ()),
203
205
sUtils .getDrawable (R .drawable .ic_back , requireActivity ()),
204
206
ViewUtils .getThemeAccentColor (requireActivity ()),
205
- 18 , getString (R .string .app_name ), "2021- 2022, sunilpaulmathew" ,
207
+ 18 , getString (R .string .app_name ), "2022-2023 , sunilpaulmathew" ,
206
208
BuildConfig .VERSION_NAME ).launchCredits (requireActivity ()));
207
209
credits .addItem (creditsSummary );
208
210
items .add (credits );
0 commit comments