minor fix
This commit is contained in:
parent
2e6928d33e
commit
c2cc81fd1d
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class XmpNamespace extends Equatable {
|
|||
}
|
||||
}
|
||||
|
||||
String get displayTitle => Namespaces.nsTitles[nsUri] ?? '${nsPrefix.substring(0, nsPrefix.length - 1)} ($nsUri)';
|
||||
String get displayTitle => Namespaces.nsTitles[nsUri] ?? (nsPrefix.isEmpty ? nsUri : '${nsPrefix.substring(0, nsPrefix.length - 1)} ($nsUri)');
|
||||
|
||||
Map<String, String> get buildProps => rawProps;
|
||||
|
||||
|
|
Loading…
Reference in a new issue