- localization fixes
- auto hide all hidden menusections
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"[ Open On-Screen Widget Tool ]" : {
|
||||
"[ Open on-screen widget tool ]" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"zh-Hans" : {
|
||||
@@ -191,6 +191,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"[ Switch among on-screen widget profiles ]" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"zh-Hans" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "[ 切换屏显控件布局 ]"
|
||||
}
|
||||
},
|
||||
"zh-Hant" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "[ 切换屏显控件布局 ]"
|
||||
}
|
||||
},
|
||||
"zh-HK" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "[ 切换屏显控件布局 ]"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"%@ is currently running" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
|
||||
@@ -321,6 +321,13 @@
|
||||
|
||||
- (void)updateViewForFoldState {
|
||||
[self setupConstraints];
|
||||
NSInteger visibleCount = 0;
|
||||
for (UIView *subview in _rootStackView.arrangedSubviews) {
|
||||
if (!subview.isHidden) {
|
||||
visibleCount++;
|
||||
}
|
||||
}
|
||||
self.hidden = visibleCount == 0;
|
||||
if (_expanded) {
|
||||
_rootStackView.hidden = NO;
|
||||
_separatorLine.hidden = NO;
|
||||
|
||||
Reference in New Issue
Block a user