@@ -139,7 +139,6 @@ public class ExportFormFragment extends Fragment implements
139139 @ BindView (R .id .radio_ofx_format ) RadioButton mOfxRadioButton ;
140140 @ BindView (R .id .radio_qif_format ) RadioButton mQifRadioButton ;
141141 @ BindView (R .id .radio_xml_format ) RadioButton mXmlRadioButton ;
142- @ BindView (R .id .radio_csv_accounts_format ) RadioButton mCsvAccountsRadioButton ;
143142 @ BindView (R .id .radio_csv_transactions_format ) RadioButton mCsvTransactionsRadioButton ;
144143
145144 @ BindView (R .id .radio_separator_comma_format ) RadioButton mSeparatorCommaButton ;
@@ -219,15 +218,9 @@ private void onRadioButtonClicked(View view){
219218 mCsvOptionsLayout .setVisibility (View .GONE );
220219 break ;
221220
222- case R .id .radio_csv_accounts_format :
223- mExportFormat = ExportFormat .CSVA ;
224- mExportWarningTextView .setText ("" );
225- mExportDateLayout .setVisibility (View .GONE );
226- mCsvOptionsLayout .setVisibility (View .VISIBLE );
227- break ;
228221 case R .id .radio_csv_transactions_format :
229222 mExportFormat = ExportFormat .CSVT ;
230- mExportWarningTextView .setText ("" );
223+ mExportWarningTextView .setText ("Exports registered transactions as CSV " );
231224 mExportDateLayout .setVisibility (View .GONE );
232225 mCsvOptionsLayout .setVisibility (View .VISIBLE );
233226 break ;
@@ -254,8 +247,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
254247 bindViewListeners ();
255248
256249 String [] export_format_strings = getResources ().getStringArray (R .array .export_formats );
257- mCsvAccountsRadioButton .setText (export_format_strings [3 ]);
258- mCsvTransactionsRadioButton .setText (export_format_strings [4 ]);
250+ mCsvTransactionsRadioButton .setText (export_format_strings [3 ]);
259251
260252 return view ;
261253 }
@@ -506,7 +498,6 @@ public void onClick(View view) {
506498 mOfxRadioButton .setOnClickListener (radioClickListener );
507499 mQifRadioButton .setOnClickListener (radioClickListener );
508500 mXmlRadioButton .setOnClickListener (radioClickListener );
509- mCsvAccountsRadioButton .setOnClickListener (radioClickListener );
510501 mCsvTransactionsRadioButton .setOnClickListener (radioClickListener );
511502
512503 mSeparatorCommaButton .setOnClickListener (radioClickListener );
@@ -518,7 +509,6 @@ public void onClick(View view) {
518509 case QIF : mQifRadioButton .performClick (); break ;
519510 case OFX : mOfxRadioButton .performClick (); break ;
520511 case XML : mXmlRadioButton .performClick (); break ;
521- case CSVA : mCsvAccountsRadioButton .performClick (); break ;
522512 case CSVT : mCsvTransactionsRadioButton .performClick (); break ;
523513 }
524514
0 commit comments