mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix format argument generation
This commit is contained in:
parent
e9be17a5ee
commit
be531ef93f
@ -219,7 +219,7 @@ def generate(header_path: str, implementation_path: str, data_path: str, entries
|
||||
arguments_string += ', id arg{}'.format(i)
|
||||
if i != 0:
|
||||
arguments_array += ', '
|
||||
arguments_array += 'arg{}'.format(i)
|
||||
arguments_array += '[[NSString alloc] initWithFormat:@"%@", arg{}]'.format(i)
|
||||
formatted_accessors += '''
|
||||
static _FormattedString * _Nonnull getFormatted{num_arguments}(_PresentationStrings * _Nonnull strings,
|
||||
uint32_t keyId{arguments_string}) {{
|
||||
|
Loading…
x
Reference in New Issue
Block a user