Skip to content

Commit

Permalink
Reverse displayed string
Browse files Browse the repository at this point in the history
  • Loading branch information
LEOYoon-Tsaw committed Dec 22, 2022
1 parent ce53c97 commit 3c564bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Chinese Time.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 41;
CURRENT_PROJECT_VERSION = 42;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 28HU5A7B46;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down Expand Up @@ -334,7 +334,7 @@
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 41;
CURRENT_PROJECT_VERSION = 42;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = 28HU5A7B46;
ENABLE_HARDENED_RUNTIME = YES;
Expand Down
2 changes: 1 addition & 1 deletion ChineseTime/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var locManager: CLLocationManager?
var statusItem: NSStatusItem?
func updateStatusTitle(title: String) {
if let button = statusItem?.button {
button.title = title
button.title = String(title.reversed())
statusItem?.length = button.intrinsicContentSize.width
}
}
Expand Down

0 comments on commit 3c564bc

Please sign in to comment.