mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 05:33:17 +00:00
9 lines
347 B
Dart
9 lines
347 B
Dart
import 'package:selfprivacy/logic/cubit/server_installation/server_installation_cubit.dart';
|
|
|
|
/// it's ui helpers use only for ui components, don't use for logic components.
|
|
|
|
class UiHelpers {
|
|
static String getDomainName(final ServerInstallationState config) =>
|
|
config.isDomainSelected ? config.serverDomain!.domainName : 'example.com';
|
|
}
|