@@ -5,25 +5,25 @@ import Model
5
5
/// Class for quickly testing and iterating on UI. Only compiled and presented when the active compiler
6
6
/// flags `DEBUG` and `UIPREVIEW` are both set in Build Settings.
7
7
final class DebugUIViewController : DeclarativeViewController {
8
- private let currentGlory = State ( initialValue: " 123 " )
9
- private let playerRank = State ( initialValue: GloryRank . heroic ( . III) )
8
+ private let currentGlory = State ( initialValue: " 1045 " )
9
+ private let playerRank = State ( initialValue: GloryRank . brave ( . III) )
10
10
private lazy var playerRankText = playerRank. binding. map { String ( describing: $0) }
11
11
12
- private let gloryToNextRank = State ( initialValue: 33 )
12
+ private let gloryToNextRank = State ( initialValue: 5 )
13
13
private let winsToNextRank = State < UInt > ( initialValue: 1 )
14
14
15
- private let currentWinStreak = State < UInt > ( initialValue: 5 )
16
- private let matchesPlayedThisWeek = State ( initialValue: 13 )
17
- private let matchesWonThisWeek = State ( initialValue: 8 )
15
+ private let currentWinStreak = State < UInt > ( initialValue: 1 )
16
+ private let matchesPlayedThisWeek = State ( initialValue: 2 )
17
+ private let matchesWonThisWeek = State ( initialValue: 1 )
18
18
19
- private let matchesRemainingForWeeklyBonus = State ( initialValue: 0 )
19
+ private let matchesRemainingForWeeklyBonus = State ( initialValue: 1 )
20
20
private lazy var metWeeklyBonus = matchesRemainingForWeeklyBonus. binding. map { $0 == 0 }
21
21
private let willRankUp = State ( initialValue: true )
22
- private let gloryAtNextWeeklyReset = State ( initialValue: 2187 )
23
- private let optimisticGloryAtNextWeeklyReset = State ( initialValue: 2135 )
22
+ private let gloryAtNextWeeklyReset = State ( initialValue: 1253 )
23
+ private let optimisticGloryAtNextWeeklyReset = State ( initialValue: 1253 )
24
24
private lazy var currentRankDecays = playerRank. binding. map { $0 >= . mythic( . I) }
25
25
26
- private let winsToFabled = State ( initialValue: " 10 " )
26
+ private let winsToFabled = State ( initialValue: " 9 " )
27
27
private lazy var winsToFabledIsZero = winsToFabled. binding. map { Int ( $0) == 0 }
28
28
private lazy var moreWinsText = winsToFabled. binding. map { " more win " + ( Int ( $0) != 1 ? " s " : " " ) }
29
29
@@ -36,7 +36,7 @@ final class DebugUIViewController: DeclarativeViewController {
36
36
37
37
//MARK: Player Name, Glory & Rank
38
38
39
- Text ( " WeirdRituals " )
39
+ Text ( " starmunk " )
40
40
. font ( Style . Font. NeueHaasGrotesk65Medium)
41
41
. fontSize ( 36 )
42
42
. adjustsFontSizeRelativeToDisplay ( . x375)
0 commit comments