mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Change productFlavors names
This commit is contained in:
@@ -46,19 +46,19 @@ android {
|
||||
applicationIdSuffix = ".libre"
|
||||
versionNameSuffix "-libre"
|
||||
buildConfigField "boolean", "FULL_VERSION", "true"
|
||||
buildConfigField "boolean", "GOOGLE_PLAY_VERSION", "false"
|
||||
buildConfigField "boolean", "CLOSED_STORE", "false"
|
||||
}
|
||||
pro_google {
|
||||
pro {
|
||||
applicationIdSuffix = ".pro"
|
||||
versionNameSuffix "-pro"
|
||||
buildConfigField "boolean", "FULL_VERSION", "true"
|
||||
buildConfigField "boolean", "GOOGLE_PLAY_VERSION", "true"
|
||||
buildConfigField "boolean", "CLOSED_STORE", "true"
|
||||
}
|
||||
free_google {
|
||||
free {
|
||||
applicationIdSuffix = ".free"
|
||||
versionNameSuffix "-free"
|
||||
buildConfigField "boolean", "FULL_VERSION", "false"
|
||||
buildConfigField "boolean", "GOOGLE_PLAY_VERSION", "true"
|
||||
buildConfigField "boolean", "CLOSED_STORE", "true"
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
@@ -99,5 +99,5 @@ dependencies {
|
||||
// Icon pack, classic for all, material for libre and pro
|
||||
implementation project(path: ':icon-pack-classic')
|
||||
libreImplementation project(path: ':icon-pack-material')
|
||||
pro_googleImplementation project(path: ':icon-pack-material')
|
||||
proImplementation project(path: ':icon-pack-material')
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ import java.util.List;
|
||||
public class MenuUtil {
|
||||
|
||||
public static void donationMenuInflater(MenuInflater inflater, Menu menu) {
|
||||
if(!(BuildConfig.FULL_VERSION && BuildConfig.GOOGLE_PLAY_VERSION))
|
||||
if(!(BuildConfig.FULL_VERSION && BuildConfig.CLOSED_STORE))
|
||||
inflater.inflate(R.menu.donation, menu);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ public class MenuUtil {
|
||||
Toolbar toolbar,
|
||||
String title,
|
||||
String summary) {
|
||||
if (!(BuildConfig.FULL_VERSION && BuildConfig.GOOGLE_PLAY_VERSION)) {
|
||||
if (!(BuildConfig.FULL_VERSION && BuildConfig.CLOSED_STORE)) {
|
||||
tapTargets.add(TapTarget.forToolbarMenuItem(toolbar,
|
||||
R.id.menu_donate,
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user