commit eddff1a57901c806a9abc819d12e7516b748f43d
parent 387e1bcf2265ab9aecf8482f9fddca98b6f17f85
Author: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date: Mon, 30 Jan 2023 00:03:16 -0500
Allow profile edit button text to scale down when translation is too long
Closes: #432
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Views/ProfileView.swift b/damus/Views/ProfileView.swift
@@ -91,6 +91,7 @@ struct EditButton: View {
RoundedRectangle(cornerRadius: 24)
.stroke(borderColor(), lineWidth: 1)
}
+ .minimumScaleFactor(0.5)
}
}