Rebrand application as Qlyra
Build Android (FCM) / build-android-fcm (push) Canceled after 0s
Build Android / build-android (push) Canceled after 0s
Build iOS / build-ios (push) Canceled after 0s
Build Linux / build-linux (push) Canceled after 0s
Build macOS / build-macos (push) Canceled after 0s
Build Windows / build-windows (push) Canceled after 0s
Release (main) / android (oneme) (push) Canceled after 0s
Release (main) / android (qlyra) (push) Canceled after 0s
Release (main) / windows (push) Canceled after 0s
Release (main) / linux (push) Canceled after 0s
Release (main) / macos (push) Canceled after 0s
Release (main) / ios (push) Canceled after 0s
Release (main) / release (push) Canceled after 0s
Build Android (FCM) / build-android-fcm (push) Canceled after 0s
Build Android / build-android (push) Canceled after 0s
Build iOS / build-ios (push) Canceled after 0s
Build Linux / build-linux (push) Canceled after 0s
Build macOS / build-macos (push) Canceled after 0s
Build Windows / build-windows (push) Canceled after 0s
Release (main) / android (oneme) (push) Canceled after 0s
Release (main) / android (qlyra) (push) Canceled after 0s
Release (main) / windows (push) Canceled after 0s
Release (main) / linux (push) Canceled after 0s
Release (main) / macos (push) Canceled after 0s
Release (main) / ios (push) Canceled after 0s
Release (main) / release (push) Canceled after 0s
This commit is contained in:
@@ -166,8 +166,9 @@ class DigitalIdProfile {
|
||||
gender: map['gender'] as String?,
|
||||
snils: map['snils'] as String?,
|
||||
inn: map['inn'] as String?,
|
||||
registrationAddress:
|
||||
address is Map ? DigitalIdAddress.fromMap(address) : null,
|
||||
registrationAddress: address is Map
|
||||
? DigitalIdAddress.fromMap(address)
|
||||
: null,
|
||||
documents: documents,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -39,8 +39,7 @@ class InformerBanner {
|
||||
bool get animatesText => settings & BannerSettings.textAnimation != 0;
|
||||
bool get hidesCloseButton => settings & BannerSettings.hideCloseButton != 0;
|
||||
bool get closesOnClick => settings & BannerSettings.hideOnClick != 0;
|
||||
bool get tintsIconWithTheme =>
|
||||
settings & BannerSettings.iconThemeColor != 0;
|
||||
bool get tintsIconWithTheme => settings & BannerSettings.iconThemeColor != 0;
|
||||
|
||||
bool get isLink =>
|
||||
type == BannerType.link && url != null && url!.trim().isNotEmpty;
|
||||
|
||||
@@ -52,61 +52,60 @@ class SpoofProfile {
|
||||
String? instanceId,
|
||||
int? clientSessionId,
|
||||
String? userAgent,
|
||||
}) =>
|
||||
SpoofProfile(
|
||||
enabled: enabled ?? this.enabled,
|
||||
deviceName: deviceName ?? this.deviceName,
|
||||
osVersion: osVersion ?? this.osVersion,
|
||||
screen: screen ?? this.screen,
|
||||
timezone: timezone ?? this.timezone,
|
||||
locale: locale ?? this.locale,
|
||||
deviceLocale: deviceLocale ?? this.deviceLocale,
|
||||
deviceId: deviceId ?? this.deviceId,
|
||||
deviceType: deviceType ?? this.deviceType,
|
||||
arch: arch ?? this.arch,
|
||||
appVersion: appVersion ?? this.appVersion,
|
||||
buildNumber: buildNumber ?? this.buildNumber,
|
||||
pushDeviceType: pushDeviceType ?? this.pushDeviceType,
|
||||
instanceId: instanceId ?? this.instanceId,
|
||||
clientSessionId: clientSessionId ?? this.clientSessionId,
|
||||
userAgent: userAgent ?? this.userAgent,
|
||||
);
|
||||
}) => SpoofProfile(
|
||||
enabled: enabled ?? this.enabled,
|
||||
deviceName: deviceName ?? this.deviceName,
|
||||
osVersion: osVersion ?? this.osVersion,
|
||||
screen: screen ?? this.screen,
|
||||
timezone: timezone ?? this.timezone,
|
||||
locale: locale ?? this.locale,
|
||||
deviceLocale: deviceLocale ?? this.deviceLocale,
|
||||
deviceId: deviceId ?? this.deviceId,
|
||||
deviceType: deviceType ?? this.deviceType,
|
||||
arch: arch ?? this.arch,
|
||||
appVersion: appVersion ?? this.appVersion,
|
||||
buildNumber: buildNumber ?? this.buildNumber,
|
||||
pushDeviceType: pushDeviceType ?? this.pushDeviceType,
|
||||
instanceId: instanceId ?? this.instanceId,
|
||||
clientSessionId: clientSessionId ?? this.clientSessionId,
|
||||
userAgent: userAgent ?? this.userAgent,
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'enabled': enabled,
|
||||
'device_name': deviceName,
|
||||
'os_version': osVersion,
|
||||
'screen': screen,
|
||||
'timezone': timezone,
|
||||
'locale': locale,
|
||||
'device_locale': deviceLocale,
|
||||
'device_id': deviceId,
|
||||
'device_type': deviceType,
|
||||
'arch': arch,
|
||||
'app_version': appVersion,
|
||||
'build_number': buildNumber,
|
||||
'push_device_type': pushDeviceType,
|
||||
'instance_id': instanceId,
|
||||
'client_session_id': clientSessionId,
|
||||
'user_agent': userAgent,
|
||||
};
|
||||
'enabled': enabled,
|
||||
'device_name': deviceName,
|
||||
'os_version': osVersion,
|
||||
'screen': screen,
|
||||
'timezone': timezone,
|
||||
'locale': locale,
|
||||
'device_locale': deviceLocale,
|
||||
'device_id': deviceId,
|
||||
'device_type': deviceType,
|
||||
'arch': arch,
|
||||
'app_version': appVersion,
|
||||
'build_number': buildNumber,
|
||||
'push_device_type': pushDeviceType,
|
||||
'instance_id': instanceId,
|
||||
'client_session_id': clientSessionId,
|
||||
'user_agent': userAgent,
|
||||
};
|
||||
|
||||
factory SpoofProfile.fromJson(Map<String, dynamic> json) => SpoofProfile(
|
||||
enabled: json['enabled'] as bool? ?? false,
|
||||
deviceName: json['device_name'] as String? ?? '',
|
||||
osVersion: json['os_version'] as String? ?? '',
|
||||
screen: json['screen'] as String? ?? '',
|
||||
timezone: json['timezone'] as String? ?? '',
|
||||
locale: json['locale'] as String? ?? '',
|
||||
deviceLocale: json['device_locale'] as String? ?? '',
|
||||
deviceId: json['device_id'] as String? ?? '',
|
||||
deviceType: json['device_type'] as String? ?? 'ANDROID',
|
||||
arch: json['arch'] as String? ?? 'arm64-v8a',
|
||||
appVersion: json['app_version'] as String? ?? '',
|
||||
buildNumber: (json['build_number'] as num?)?.toInt() ?? 0,
|
||||
pushDeviceType: json['push_device_type'] as String? ?? 'GCM',
|
||||
instanceId: json['instance_id'] as String? ?? '',
|
||||
clientSessionId: (json['client_session_id'] as num?)?.toInt(),
|
||||
userAgent: json['user_agent'] as String? ?? '',
|
||||
);
|
||||
enabled: json['enabled'] as bool? ?? false,
|
||||
deviceName: json['device_name'] as String? ?? '',
|
||||
osVersion: json['os_version'] as String? ?? '',
|
||||
screen: json['screen'] as String? ?? '',
|
||||
timezone: json['timezone'] as String? ?? '',
|
||||
locale: json['locale'] as String? ?? '',
|
||||
deviceLocale: json['device_locale'] as String? ?? '',
|
||||
deviceId: json['device_id'] as String? ?? '',
|
||||
deviceType: json['device_type'] as String? ?? 'ANDROID',
|
||||
arch: json['arch'] as String? ?? 'arm64-v8a',
|
||||
appVersion: json['app_version'] as String? ?? '',
|
||||
buildNumber: (json['build_number'] as num?)?.toInt() ?? 0,
|
||||
pushDeviceType: json['push_device_type'] as String? ?? 'GCM',
|
||||
instanceId: json['instance_id'] as String? ?? '',
|
||||
clientSessionId: (json['client_session_id'] as num?)?.toInt(),
|
||||
userAgent: json['user_agent'] as String? ?? '',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -53,9 +53,7 @@ class StoryOwner {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
other is StoryOwner &&
|
||||
other.ownerId == ownerId &&
|
||||
other.type == type;
|
||||
other is StoryOwner && other.ownerId == ownerId && other.type == type;
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(ownerId, type);
|
||||
@@ -119,8 +117,8 @@ class StoryMedia {
|
||||
final height = parseIntOrNull(map['height']);
|
||||
switch (typeStr) {
|
||||
case 'PHOTO':
|
||||
final url =
|
||||
(map['photoUrl'] ?? map['baseUrl'] ?? map['url'])?.toString();
|
||||
final url = (map['photoUrl'] ?? map['baseUrl'] ?? map['url'])
|
||||
?.toString();
|
||||
return StoryMedia(
|
||||
type: AttachmentType.photo,
|
||||
url: url,
|
||||
|
||||
Reference in New Issue
Block a user