Skip to content

Commit 3abe521

Browse files
store [nfc]: Add getters for realmName and realmIcon
1 parent 1949812 commit 3abe521

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/model/store.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,10 @@ abstract class PerAccountStoreBase {
420420
/// Always equal to `account.realmUrl` and `connection.realmUrl`.
421421
Uri get realmUrl => connection.realmUrl;
422422

423+
String? get realmName => account.realmName;
424+
425+
Uri? get realmIcon => account.realmIcon;
426+
423427
/// Resolve [reference] as a URL relative to [realmUrl].
424428
///
425429
/// This returns null if [reference] fails to parse as a URL.

0 commit comments

Comments
 (0)