3.2.201508271530 功能提示根据 build 版本来判断 - 整理语音提示 · chenddcoder/Coding-iOS@a26c407 · GitHub
Skip to content

Commit a26c407

Browse files
committed
3.2.201508271530 功能提示根据 build 版本来判断 - 整理语音提示
1 parent 82baee4 commit a26c407

4 files changed

Lines changed: 12 additions & 22 deletions

File tree

Coding_iOS/Coding_iOS-Info.plist

Lines changed: 1 addition & 1 deletion

Coding_iOS/Util/Manager/FunctionTipsManager.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ static NSString *kFunctionTipStr_CommitList = @"Code_CommitList";
1414
static NSString *kFunctionTipStr_Search = @"hasSearch";
1515
static NSString *kFunctionTipStr_HotTopic = @"HotTopic";
1616
static NSString *kFunctionTipStr_TweetTopic = @"TweetTopic";
17+
static NSString *kFunctionTipStr_VoiceMessage = @"VoiceMessage";
1718

1819
#import <Foundation/Foundation.h>
1920

Coding_iOS/Util/Manager/FunctionTipsManager.m

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,17 @@ - (instancetype)init
2929
self = [super init];
3030
if (self) {
3131
_tipsDict = [NSMutableDictionary dictionaryWithContentsOfFile:[self p_cacheFilePath]];
32-
if (![[_tipsDict valueForKey:@"version"] isEqualToString:kVersion_Coding]) {
33-
_tipsDict = [@{kFunctionTipStr_Version: kVersion_Coding,
32+
if (![[_tipsDict valueForKey:@"version"] isEqualToString:kVersionBuild_Coding]) {
33+
_tipsDict = [@{kFunctionTipStr_Version: kVersionBuild_Coding,
3434
//Function Need To Tip
3535
// kFunctionTipStr_MR: @(YES),
3636
// kFunctionTipStr_PR: @(YES),
3737
// kFunctionTipStr_ReadMe: @(YES),
3838
// kFunctionTipStr_CommitList: @(YES),
39-
kFunctionTipStr_Search: @(YES),
40-
kFunctionTipStr_HotTopic: @(YES),
41-
kFunctionTipStr_TweetTopic: @(YES),
39+
// kFunctionTipStr_Search: @(YES),
40+
// kFunctionTipStr_HotTopic: @(YES),
41+
// kFunctionTipStr_TweetTopic: @(YES),
42+
kFunctionTipStr_VoiceMessage: @(YES),
4243
} mutableCopy];
4344
[_tipsDict writeToFile:[self p_cacheFilePath] atomically:YES];
4445
}

Coding_iOS/Views/UIMessageInputView/UIMessageInputView.m

Lines changed: 4 additions & 16 deletions

0 commit comments

Comments
 (0)