Commit d542dd15 authored by fallenstardust's avatar fallenstardust

更改en,kor配置文件路径

parent 8c3142e7
......@@ -25,7 +25,6 @@ android {
cn {
resValue 'string', 'app_name', 'YGOMobile'
applicationIdSuffix ".CN"
buildConfigField 'String', 'URL_DONATE', '"https://afdian.net/@ygomobile"'
}
}
buildTypes {
......@@ -49,8 +48,6 @@ android {
sourceSets {
main {
assets.srcDirs = ['assets']
assets.srcDirs = ['assets_en']
assets.srcDirs = ['assets_ko']
jniLibs.srcDirs = ['libs']
}
}
......
......@@ -149,6 +149,7 @@ public interface Constants {
int DECK_EXTRA_COUNT = (DECK_SIDE_MAX / DECK_WIDTH_COUNT * DECK_WIDTH_COUNT < DECK_SIDE_MAX) ? DECK_WIDTH_COUNT * 2 : DECK_WIDTH_COUNT;
int DECK_SIDE_COUNT = DECK_EXTRA_COUNT;
String URL_HELP = "https://www.wolai.com/hgRyrSXQuq4rzMwzXhHBqA";
String URL_DONATE = "https://afdian.net/@ygomobile";
String URL_MASTER_RULE_CN = "https://ocg-rule.readthedocs.io/";
String WIKI_SEARCH_URL = "https://ygocdb.com/card/";
String URL_HOME_VERSION = "https://ygomobile.top/version.txt";
......@@ -196,8 +197,6 @@ public interface Constants {
String ACTION_RELOAD = "ygomobile.intent.action.RELOAD";
String IMAGE_URL = "https://github.com/fallenstardust/YGOMobile-pics/master/pics/%s.jpg";
String IMAGE_FIELD_URL = "https://github.com/fallenstardust/YGOMobile-pics/master/pics/field/%s.jpg";
//String IMAGE_URL = "https://github.com/Ygoproco/Live-images/raw/master/pics/%s.jpg";
//String IMAGE_FIELD_URL = "https://github.com/Ygoproco/Live-images/raw/master/pics/field/%s.png";
String IMAGE_URL_EX = ".jpg";
String IMAGE_FIELD_URL_EX = ".png";
/**
......
......@@ -738,7 +738,8 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
break;*/
case R.id.nav_webpage: {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(BuildConfig.URL_DONATE));
intent.setData(Uri.parse(Constants.URL_DONATE));
Toast.makeText(getActivity(),R.string.donatefor, Toast.LENGTH_LONG).show();
startActivity(intent);
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment