mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-08-21 12:31:51 +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';
|
|
}
|