commit 8263e56f41caa7249691c90981310cdc7d41f856
parent 8daa1d2adfabb8c6f18a1dfc453329ce75f1f98a
Author: kernelkind <kernelkind@gmail.com>
Date: Thu, 17 Jul 2025 19:33:56 -0400
expose `AccountCache::falback`
Signed-off-by: kernelkind <kernelkind@gmail.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/crates/notedeck/src/account/cache.rs b/crates/notedeck/src/account/cache.rs
@@ -97,6 +97,10 @@ impl AccountCache {
.get_mut(&self.selected)
.expect("guarenteed that selected exists in accounts")
}
+
+ pub fn fallback(&self) -> &Pubkey {
+ &self.fallback
+ }
}
impl<'a> IntoIterator for &'a AccountCache {