mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-08 09:53:12 +00:00
10 lines
323 B
Dart
10 lines
323 B
Dart
import 'package:selfprivacy/logic/cubit/app_config/app_config_cubit.dart';
|
|
|
|
/// it's ui helpers use only for ui components, don't use for logic components.
|
|
|
|
class UiHelpers {
|
|
static String getDomainName(AppConfigState config) => config.isDomainFilled
|
|
? config.cloudFlareDomain!.domainName
|
|
: 'example.com';
|
|
}
|