Skip to content

Commit

Permalink
Merge pull request #205 from WhiteCloud0123/develop
Browse files Browse the repository at this point in the history
杂项
  • Loading branch information
WhiteCloud0123 authored Jul 15, 2023
2 parents 88069f1 + 291d591 commit 3275448
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected void onResume() {

Context context = getApplicationContext();
String service_names = CataclysmDDA_Helpers.getEnabledAccessibilityServiceNames(context);
//accessibilityServicesAlert.setMessage( String.format( getString(R.string.accessibilityServicesMessage), service_names ) );
accessibilityServicesAlert.setMessage( String.format( getString(R.string.accessibilityServicesMessage), service_names ) );
if (false) {
accessibilityServicesAlert.show();
} else {
Expand Down Expand Up @@ -148,7 +148,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

accessibilityServicesAlert = new AlertDialog.Builder(SplashScreen.this)
//.setTitle(getString(R.string.accessibilityServicesTitle))
.setTitle(getString(R.string.accessibilityServicesTitle))
.setCancelable(false)
.setPositiveButton("OK", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
Expand Down
2 changes: 2 additions & 0 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@
<string name="cancel">Cancel</string>
<string name="unavailable">Unavailable</string>
<string name="unavailableOption">The option you chose is not available.</string>
<string name="accessibilityServicesTitle">Accessibility Services Warning</string>
<string name="accessibilityServicesMessage">If swipe commands and shortcuts menus are not working in game, you might want to disable one of the following accessibility services/software that interact with touchscreen (swipe assists, auto-clickers, one-handed mode, etc.):\n%1$s</string>
</resources>
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ deps=./deps.zip

# This property controls which override version number to use
# You can override this from the command line by passing "-Poverride_version=#"
override_version=
override_version=CDDA-Breeze-3.1

# This property controls path where overridden version number header should be generated
# You can override this from the command line by passing "-Pversion_header_path=#"
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// NOLINT(cata-header-guard)
#define VERSION "b995146-dirty"
#define VERSION "CDDA-Breeze 3.1"

0 comments on commit 3275448

Please sign in to comment.