import net.ktnx.mobileledger.model.MobileLedgerProfile;
import net.ktnx.mobileledger.ui.MainModel;
import net.ktnx.mobileledger.ui.account_summary.AccountSummaryFragment;
+import net.ktnx.mobileledger.ui.new_transaction.NewTransactionActivity;
import net.ktnx.mobileledger.ui.profiles.ProfilesRecyclerViewAdapter;
+import net.ktnx.mobileledger.ui.templates.TemplatesActivity;
import net.ktnx.mobileledger.ui.transaction_list.TransactionListFragment;
import net.ktnx.mobileledger.utils.Colors;
import net.ktnx.mobileledger.utils.Logger;
if (error == null)
return;
- Snackbar.make(b.mainPager, error, Snackbar.LENGTH_LONG)
+ Snackbar.make(b.mainPager, error, Snackbar.LENGTH_INDEFINITE)
.show();
mainModel.clearUpdateError();
});
b.navPatterns.setOnClickListener(this::onPatternsClick);
}
private void onPatternsClick(View view) {
- Intent intent = new Intent(this, PatternsActivity.class);
+ Intent intent = new Intent(this, TemplatesActivity.class);
startActivity(intent);
}
private void scheduleDataRetrievalIfStale(long lastUpdate) {