iOS:Change DoricGravity enum name
This commit is contained in:
@@ -71,9 +71,9 @@ void ShowToast(NSString *text, DoricGravity gravity) {
|
||||
label.height += 10;
|
||||
label.layer.cornerRadius = label.height / 2;
|
||||
label.centerX = superView.width / 2;
|
||||
if ((gravity & BOTTOM) == BOTTOM) {
|
||||
if ((gravity & DoricBottom) == DoricBottom) {
|
||||
label.bottom = superView.height - 20;
|
||||
} else if ((gravity & TOP) == TOP) {
|
||||
} else if ((gravity & DoricTOP) == DoricTOP) {
|
||||
label.top = 108;
|
||||
} else {
|
||||
label.centerY = (superView.height - 88) / 2;
|
||||
|
Reference in New Issue
Block a user