import androidx.recyclerview.widget.ItemTouchHelper;
import androidx.recyclerview.widget.RecyclerView;
+import com.google.android.material.snackbar.Snackbar;
+
import net.ktnx.mobileledger.BuildConfig;
import net.ktnx.mobileledger.R;
import net.ktnx.mobileledger.async.DescriptionSelectedCallback;
debug("descr", broaderSql);
debug("descr", description);
+ activity.runOnUiThread(() -> {
+ Snackbar.make(recyclerView, R.string.ignoring_preferred_account,
+ Snackbar.LENGTH_LONG)
+ .show();
+ });
+
MLDB.queryInBackground(broaderSql, new String[]{description},
new MLDB.CallbackHelper() {
@Override
<string name="show_currency_input">Валута</string>
<string name="currency_input_by_default">Показване по подразбиране на полето за валута</string>
<string name="profile_default_commodity">Валута по подразбиране</string>
+ <string name="ignoring_preferred_account">Липсват трансакции с предпочитаната сметка</string>
</resources>
<string name="show_currency_input">Currency</string>
<string name="currency_input_by_default">Commodity input visible by default</string>
<string name="profile_default_commodity">Default commodity</string>
+ <string name="ignoring_preferred_account">No transactions with preferred account found</string>
</resources>