]> git.ktnx.net Git - mobile-ledger.git/commitdiff
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 876ffd217436dc9314cc6fc760575f7c71ab3259..c198301c162a4462774734cb99f543481374c0da 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 2632606ca2324212b055ca1d52ecf421814a0b75..8ca2c0684f4adaf991afaffc6d01764433701b6a 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 784bc4d577e767909f190b28e12b81774b873ad2..c2485599b57f3eb60b14823c0223bea0f475ec66 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>