mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix fragment button in Intro process.
This commit is contained in:
parent
43671e2b47
commit
071411c8b9
3 changed files with 9 additions and 6 deletions
|
@ -293,11 +293,8 @@ membersAbout: FlatLabel(defaultFlatLabel) {
|
|||
style: boxLabelStyle;
|
||||
}
|
||||
|
||||
fragmentBoxButton: RoundButton(introNextButton) {
|
||||
fragmentBoxButton: RoundButton(introFragmentButton) {
|
||||
width: 256px;
|
||||
icon: icon {{ "fragment", activeButtonFg }};
|
||||
iconOver: icon {{ "fragment", activeButtonFgOver }};
|
||||
iconPosition: point(-10px, 9px);
|
||||
}
|
||||
|
||||
passcodeHeaderFont: font(19px);
|
||||
|
|
|
@ -89,6 +89,13 @@ introNextButton: RoundButton(defaultActiveButton) {
|
|||
textTop: 11px;
|
||||
font: font(boxFontSize semibold);
|
||||
}
|
||||
introFragmentIcon: icon{{ "fragment", activeButtonFg }};
|
||||
introFragmentIconOver: icon{{ "fragment", activeButtonFgOver }};
|
||||
introFragmentButton: RoundButton(introNextButton) {
|
||||
icon: introFragmentIcon;
|
||||
iconOver: introFragmentIconOver;
|
||||
iconPosition: point(-10px, 9px);
|
||||
}
|
||||
|
||||
introStepFieldTop: 96px;
|
||||
introPhoneTop: 6px;
|
||||
|
|
|
@ -20,7 +20,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "main/main_account.h"
|
||||
#include "mtproto/mtp_instance.h"
|
||||
#include "styles/style_intro.h"
|
||||
#include "styles/style_boxes.h"
|
||||
|
||||
namespace Intro {
|
||||
namespace details {
|
||||
|
@ -428,7 +427,7 @@ rpl::producer<QString> CodeWidget::nextButtonText() const {
|
|||
|
||||
const style::RoundButton *CodeWidget::nextButtonStyle() const {
|
||||
return !getData()->codeByFragmentUrl.isEmpty()
|
||||
? &st::fragmentBoxButton
|
||||
? &st::introFragmentButton
|
||||
: nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue