drop the "new account" new transaction screen menu item
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Apr 2019 10:54:40 +0000 (13:54 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Apr 2019 10:54:40 +0000 (13:54 +0300)
new accounts are added automatically when needed

app/src/main/res/menu/new_transaction.xml
app/src/main/res/values-bg/strings.xml
app/src/main/res/values/strings.xml

index 876ffd2..c198301 100644 (file)
         android:title="@string/action_submit_transaction_title"
         android:visible="false"
         app:showAsAction="always" />
-    <item
-        android:id="@+id/action_add_account"
-        android:icon="@drawable/svg_thick_plus_white"
-        android:onClick="addTransactionAccountFromMenu"
-        android:orderInCategory="100"
-        android:title="@string/menu_add_account"
-        android:visible="false"
-        app:showAsAction="never|ifRoom" />
     <item
         android:id="@+id/action_reset_new_transaction_activity"
         android:icon="@drawable/ic_refresh_white_24dp"
index 2632606..8ca2c06 100644 (file)
@@ -31,7 +31,6 @@
     <string name="title_activity_new_transaction">Нова трансакция</string>
     <string name="new_transaction_account_hint">Сметка</string>
     <string name="new_transaction_date_hint">днес</string>
-    <string name="menu_add_account">Добавяне на сметка</string>
     <string name="msg_at_least_two_accounts_are_required">Задължително е използването на поне две сметки</string>
     <string name="err_net_io_error">Мрежова грешка</string>
     <string name="err_bad_backend_url">Неправилен адрес на сървър</string>
index 784bc4d..c248559 100644 (file)
@@ -74,7 +74,6 @@
     <string name="new_transaction_account_hint">Account</string>
     <string name="new_transaction_date_hint">today</string>
     <string name="new_transaction_amount_hint">0.00</string>
-    <string name="menu_add_account">Add another acount</string>
     <string name="msg_at_least_two_accounts_are_required">At least two accounts are required</string>
     <string name="err_bad_backend_url">Invalid backend URL</string>
     <string name="err_net_io_error">Network I/O error</string>