mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 04:24:29 +00:00
[ios] Added Mastodon & Bluesky
This commit is contained in:
committed by
Yannik Bloscheck
parent
fe92bf2359
commit
e500a9e5fa
@@ -13,11 +13,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property(nonatomic, readonly, nullable) NSString *website;
|
||||
@property(nonatomic, readonly, nullable) NSString *wikipedia;
|
||||
@property(nonatomic, readonly, nullable) NSString *wikimediaCommons;
|
||||
@property(nonatomic, readonly, nullable) NSString *fediverse;
|
||||
@property(nonatomic, readonly, nullable) NSString *facebook;
|
||||
@property(nonatomic, readonly, nullable) NSString *instagram;
|
||||
@property(nonatomic, readonly, nullable) NSString *twitter;
|
||||
@property(nonatomic, readonly, nullable) NSString *vk;
|
||||
@property(nonatomic, readonly, nullable) NSString *line;
|
||||
@property(nonatomic, readonly, nullable) NSString *bluesky;
|
||||
@property(nonatomic, readonly, nullable) NSString *email;
|
||||
@property(nonatomic, readonly, nullable) NSURL *emailUrl;
|
||||
@property(nonatomic, readonly, nullable) NSString *cuisine;
|
||||
|
||||
@@ -68,11 +68,13 @@ NSString * GetLocalizedMetadataValueString(MapObject::MetadataID metaID, std::st
|
||||
_email = ToNSString(value);
|
||||
_emailUrl = [NSURL URLWithString:[NSString stringWithFormat:@"mailto:%@", _email]];
|
||||
break;
|
||||
case MetadataID::FMD_CONTACT_FEDIVERSE: _fediverse = ToNSString(value); break;
|
||||
case MetadataID::FMD_CONTACT_FACEBOOK: _facebook = ToNSString(value); break;
|
||||
case MetadataID::FMD_CONTACT_INSTAGRAM: _instagram = ToNSString(value); break;
|
||||
case MetadataID::FMD_CONTACT_TWITTER: _twitter = ToNSString(value); break;
|
||||
case MetadataID::FMD_CONTACT_VK: _vk = ToNSString(value); break;
|
||||
case MetadataID::FMD_CONTACT_LINE: _line = ToNSString(value); break;
|
||||
case MetadataID::FMD_CONTACT_BLUESKY: _bluesky = ToNSString(value); break;
|
||||
case MetadataID::FMD_OPERATOR: _ppOperator = [NSString stringWithFormat:NSLocalizedString(@"operator", nil), ToNSString(value)]; break;
|
||||
case MetadataID::FMD_INTERNET:
|
||||
_wifiAvailable = (rawData.GetInternet() == feature::Internet::No)
|
||||
|
||||
Reference in New Issue
Block a user