Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
tranleduy2000 committed Jun 13, 2018
1 parent a99b1eb commit 09ec68d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ android {
applicationId "com.duy.c.cpp.compiler"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 22
versionName "1.2.2"
versionCode 23
versionName "1.2.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void onEditorViewCreated(@NonNull IEditorDelegate editorDelegate) {
}
}

if (false) {
if (true) {
return;
}
editorDelegate.setSuggestionProvider(new SuggestionProvider() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public Preferences(Context context) {
map.put(context.getString(R.string.pref_auto_complete), true);
map.put(KEY_AUTO_INDENT, true);
map.put(KEY_AUTO_PAIR, true);
map.put(context.getString(R.string.pref_auto_save), true);

map.put(context.getString(R.string.pref_insert_space_for_tab), true);
map.put(KEY_TAB_SIZE, 4);
Expand Down Expand Up @@ -199,7 +200,7 @@ public int getHighlightSizeLimit() {

//auto save is default
public boolean isAutoSave() {
return getBoolean(context.getString(R.string.pref_auto_save), true);
return (boolean) map.get(context.getString(R.string.pref_auto_save));
}

public boolean getBoolean(String key, boolean def) {
Expand Down

0 comments on commit 09ec68d

Please sign in to comment.