Load the per-user active gateway name from persistent storage. Returns `None` if no user-scoped active gateway has been set.
()
| 259 | /// |
| 260 | /// Returns `None` if no user-scoped active gateway has been set. |
| 261 | pub fn load_user_active_gateway() -> Option<String> { |
| 262 | user_active_gateway_path() |
| 263 | .ok() |
| 264 | .as_deref() |
| 265 | .and_then(read_gateway_name) |
| 266 | } |
| 267 | |
| 268 | /// Load the active gateway name from persistent storage. |
| 269 | /// |
no test coverage detected