forked from organicmaps/organicmaps-tmp
[cleanup] [ios] Fixed spellings.
This commit is contained in:
parent
f04b5247d6
commit
163acfeca9
9 changed files with 12 additions and 12 deletions
|
@ -87,7 +87,7 @@ static NSString * const kAlertControllerNibIdentifier = @"MWMAlertViewController
|
|||
|
||||
- (void)presentIncorrectFeauturePositionAlert
|
||||
{
|
||||
[self displayAlert:[MWMAlert incorrectFeauturePositionAlert]];
|
||||
[self displayAlert:[MWMAlert incorrectFeaturePositionAlert]];
|
||||
}
|
||||
|
||||
- (void)presentInternalErrorAlert { [self displayAlert:[MWMAlert internalErrorAlert]]; }
|
||||
|
|
|
@ -26,7 +26,7 @@ using MWMDownloadBlock = void (^)(storage::TCountriesVec const &, MWMVoidBlock);
|
|||
+ (MWMAlert *)deleteMapProhibitedAlert;
|
||||
+ (MWMAlert *)unsavedEditsAlertWithOkBlock:(MWMVoidBlock)okBlock;
|
||||
+ (MWMAlert *)locationServiceNotSupportedAlert;
|
||||
+ (MWMAlert *)incorrectFeauturePositionAlert;
|
||||
+ (MWMAlert *)incorrectFeaturePositionAlert;
|
||||
+ (MWMAlert *)internalErrorAlert;
|
||||
+ (MWMAlert *)notEnoughSpaceAlert;
|
||||
+ (MWMAlert *)invalidUserNameOrPasswordAlert;
|
||||
|
|
|
@ -83,9 +83,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
+ (MWMAlert *)incorrectFeauturePositionAlert
|
||||
+ (MWMAlert *)incorrectFeaturePositionAlert
|
||||
{
|
||||
return [MWMDefaultAlert incorrectFeauturePositionAlert];
|
||||
return [MWMDefaultAlert incorrectFeaturePositionAlert];
|
||||
}
|
||||
|
||||
+ (MWMAlert *)internalErrorAlert { return [MWMDefaultAlert internalErrorAlert]; }
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
+ (instancetype)startPointNotFoundAlert;
|
||||
+ (instancetype)intermediatePointNotFoundAlert;
|
||||
+ (instancetype)internalRoutingErrorAlert;
|
||||
+ (instancetype)incorrectFeauturePositionAlert;
|
||||
+ (instancetype)incorrectFeaturePositionAlert;
|
||||
+ (instancetype)internalErrorAlert;
|
||||
+ (instancetype)notEnoughSpaceAlert;
|
||||
+ (instancetype)invalidUserNameOrPasswordAlert;
|
||||
|
|
|
@ -164,7 +164,7 @@ static NSString * const kDefaultAlertNibName = @"MWMDefaultAlert";
|
|||
statisticsEvent:@"Internal Routing Error Alert"];
|
||||
}
|
||||
|
||||
+ (instancetype)incorrectFeauturePositionAlert
|
||||
+ (instancetype)incorrectFeaturePositionAlert
|
||||
{
|
||||
return [self defaultAlertWithTitle:L(@"dialog_incorrect_feature_position")
|
||||
message:L(@"message_invalid_feature_position")
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
self.icon.mwm_coloring = MWMImageColoringBlack;
|
||||
self.label.text = text;
|
||||
self.switchControl.on = on;
|
||||
[self setTextColorWithSwithValue:on];
|
||||
[self setTextColorWithSwitchValue:on];
|
||||
}
|
||||
|
||||
- (void)setTextColorWithSwithValue:(BOOL)value
|
||||
- (void)setTextColorWithSwitchValue:(BOOL)value
|
||||
{
|
||||
self.label.textColor = value ? [UIColor blackPrimaryText] : [UIColor blackHintText];
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
|||
{
|
||||
BOOL const value = self.switchControl.on;
|
||||
[self.delegate cell:self changeSwitch:value];
|
||||
[self setTextColorWithSwithValue:value];
|
||||
[self setTextColorWithSwitchValue:value];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -16,7 +16,7 @@ typedef UIView * _Nullable (^MWMPlacePageButtonsDismissBlock)(NSInteger);
|
|||
referenceView:(nullable UIView *)referenceView
|
||||
referenceViewWhenDismissingHandler:
|
||||
(nonnull MWMPlacePageButtonsDismissBlock)referenceViewWhenDismissingHandler;
|
||||
- (void)showGalery;
|
||||
- (void)showGallery;
|
||||
|
||||
- (void)openLocalAdsURL;
|
||||
- (void)reviewOn:(NSInteger)starNumber;
|
||||
|
|
|
@ -551,7 +551,7 @@ void logSponsoredEvent(MWMPlacePageData * data, NSString * eventName)
|
|||
[[MapViewController controller] presentViewController:photoVC animated:YES completion:nil];
|
||||
}
|
||||
|
||||
- (void)showGalery
|
||||
- (void)showGallery
|
||||
{
|
||||
auto data = self.data;
|
||||
if (!data)
|
||||
|
|
|
@ -52,7 +52,7 @@ extension PPHotelCarouselCell: UICollectionViewDelegate, UICollectionViewDataSou
|
|||
guard let d = delegate else { return }
|
||||
|
||||
if isLastCell(indexPath) {
|
||||
d.showGalery()
|
||||
d.showGallery()
|
||||
} else {
|
||||
let section = indexPath.section
|
||||
d.showPhoto(at: indexPath.item,
|
||||
|
|
Loading…
Add table
Reference in a new issue