forked from organicmaps/organicmaps
[ios] Correct keys in locals error message.
This commit is contained in:
parent
d157589604
commit
f985c3d073
2 changed files with 4 additions and 3 deletions
|
@ -35,8 +35,8 @@ final class DiscoveryOnlineTemplateCell: MWMTableViewCell {
|
|||
title.text = L("preloader_viator_title")
|
||||
subtitle.text = L("preloader_viator_message")
|
||||
case .locals:
|
||||
title.text = L("preloader_locals_title")
|
||||
subtitle.text = L("preloader_locals_message")
|
||||
title.text = L("discovery_button_other_error_message")
|
||||
subtitle.text = ""
|
||||
}
|
||||
|
||||
spinner.isHidden = !needSpinner
|
||||
|
|
|
@ -263,7 +263,8 @@ string GetDistance(m2::PointD const & from, m2::PointD const & to)
|
|||
Class cls = [MWMDiscoveryOnlineTemplateCell class];
|
||||
auto cell = static_cast<MWMDiscoveryOnlineTemplateCell *>(
|
||||
[tableView dequeueReusableCellWithCellClass:cls indexPath:indexPath]);
|
||||
[cell configWithType:MWMDiscoveryOnlineTemplateTypeViator
|
||||
[cell configWithType:type == ItemType::Viator ? MWMDiscoveryOnlineTemplateTypeViator :
|
||||
MWMDiscoveryOnlineTemplateTypeLocals
|
||||
needSpinner:isLoading
|
||||
tap:^{
|
||||
[self.delegate openURLForItem:type];
|
||||
|
|
Loading…
Add table
Reference in a new issue