Skip to content

Commit 0b95640

Browse files
committed
Update version strings for 1.4.0-beta4 release
Code refactoring
1 parent 494ca49 commit 0b95640

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

app/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
1919
package="org.gnucash.android"
20-
android:versionCode="32"
20+
android:versionCode="33"
2121
android:versionName="@string/app_version_name" >
2222

2323
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16"/>

app/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
1919
<string name="app_name">GnuCash</string>
20-
<string name="app_version_name">1.4.0-beta3</string>
20+
<string name="app_version_name">1.4.0-beta4</string>
2121
<string name="title_add_account">Create Account</string>
2222
<string name="title_edit_account">Edit Account</string>
2323
<string name="info_details">Info</string>

app/src/org/gnucash/android/model/Transaction.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -299,32 +299,32 @@ public Currency getCurrency(){
299299
}
300300

301301
/**
302-
* Returns the name of the transaction
303-
* @return Name of the transaction
302+
* Returns the description of the transaction
303+
* @return Transaction description
304304
*/
305305
public String getDescription() {
306306
return mDescription;
307307
}
308308

309309
/**
310-
* Sets the name of the transaction
311-
* @param name String containing name of transaction to set
310+
* Sets the transaction description
311+
* @param description String description
312312
*/
313-
public void setDescription(String name) {
314-
this.mDescription = name.trim();
313+
public void setDescription(String description) {
314+
this.mDescription = description.trim();
315315
}
316316

317317
/**
318-
* Set short description of the transaction
319-
* @param description String containing description of transaction
318+
* Add notes to the transaction
319+
* @param notes String containing notes for the transaction
320320
*/
321-
public void setNote(String description) {
322-
this.mNotes = description;
321+
public void setNote(String notes) {
322+
this.mNotes = notes;
323323
}
324324

325325
/**
326-
* Returns the description of the transaction
327-
* @return String containing description of transaction
326+
* Returns the transaction notes
327+
* @return String notes of transaction
328328
*/
329329
public String getNote() {
330330
return mNotes;

app/src/org/gnucash/android/ui/transaction/TransactionFormFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ private void openSplitEditor(){
435435
return;
436436
}
437437
FragmentManager fragmentManager = getActivity().getSupportFragmentManager();
438-
String baseAmountString = "0";
438+
String baseAmountString;
439439
long transactionId = getArguments().getLong(UxArgument.SELECTED_TRANSACTION_ID);
440440

441441
if (transactionId <= 0){

0 commit comments

Comments
 (0)