Skip to content

Commit

Permalink
feature(wallet-mobile): enable catalyst voting
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Nov 19, 2024
1 parent 76c5e88 commit 8a852fc
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ export const DownloadCatalystAppScreen = () => {
const votingEnd = `${formatDate(fund.info.votingEnd)}: ${strings.votingEnd}`
const votingResults = `${formatDate(fund.info.tallyingEnd)}: ${strings.votingResults}`

const disabled = wallet.isMainnet && fund.status.registration !== 'running'

return (
<SafeAreaView edges={['left', 'right', 'bottom']} style={styles.safeAreaView}>
<Stepper title={strings.title} currentStep={1} totalSteps={3} />
Expand Down Expand Up @@ -98,7 +96,7 @@ export const DownloadCatalystAppScreen = () => {
</ScrollView>

<Actions>
<Button shelleyTheme onPress={onNext} title={strings.continueButton} disabled={disabled} />
<Button shelleyTheme onPress={onNext} title={strings.continueButton} />
</Actions>
</SafeAreaView>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"start": {
"line": 261,
"column": 11,
"index": 9358
"index": 9374
},
"end": {
"line": 264,
"column": 3,
"index": 9468
"index": 9484
}
},
{
Expand All @@ -21,12 +21,12 @@
"start": {
"line": 265,
"column": 21,
"index": 9491
"index": 9507
},
"end": {
"line": 268,
"column": 3,
"index": 9624
"index": 9640
}
},
{
Expand All @@ -36,12 +36,12 @@
"start": {
"line": 269,
"column": 18,
"index": 9644
"index": 9660
},
"end": {
"line": 272,
"column": 3,
"index": 9756
"index": 9772
}
},
{
Expand All @@ -51,12 +51,12 @@
"start": {
"line": 273,
"column": 15,
"index": 9773
"index": 9789
},
"end": {
"line": 276,
"column": 3,
"index": 9879
"index": 9895
}
},
{
Expand All @@ -66,12 +66,12 @@
"start": {
"line": 277,
"column": 22,
"index": 9903
"index": 9919
},
"end": {
"line": 280,
"column": 3,
"index": 10024
"index": 10040
}
},
{
Expand All @@ -81,12 +81,12 @@
"start": {
"line": 281,
"column": 9,
"index": 10035
"index": 10051
},
"end": {
"line": 284,
"column": 3,
"index": 10135
"index": 10151
}
},
{
Expand All @@ -96,12 +96,12 @@
"start": {
"line": 285,
"column": 18,
"index": 10155
"index": 10171
},
"end": {
"line": 288,
"column": 3,
"index": 10282
"index": 10298
}
},
{
Expand All @@ -111,12 +111,12 @@
"start": {
"line": 289,
"column": 13,
"index": 10297
"index": 10313
},
"end": {
"line": 292,
"column": 3,
"index": 10406
"index": 10422
}
},
{
Expand All @@ -126,12 +126,12 @@
"start": {
"line": 293,
"column": 15,
"index": 10423
"index": 10439
},
"end": {
"line": 296,
"column": 3,
"index": 10536
"index": 10552
}
},
{
Expand All @@ -141,12 +141,12 @@
"start": {
"line": 297,
"column": 19,
"index": 10557
"index": 10573
},
"end": {
"line": 300,
"column": 3,
"index": 10718
"index": 10734
}
},
{
Expand All @@ -156,12 +156,12 @@
"start": {
"line": 301,
"column": 20,
"index": 10740
"index": 10756
},
"end": {
"line": 304,
"column": 3,
"index": 10874
"index": 10890
}
},
{
Expand All @@ -171,12 +171,12 @@
"start": {
"line": 305,
"column": 24,
"index": 10900
"index": 10916
},
"end": {
"line": 308,
"column": 3,
"index": 11083
"index": 11099
}
},
{
Expand All @@ -186,12 +186,12 @@
"start": {
"line": 309,
"column": 18,
"index": 11103
"index": 11119
},
"end": {
"line": 312,
"column": 3,
"index": 11234
"index": 11250
}
},
{
Expand All @@ -201,12 +201,12 @@
"start": {
"line": 313,
"column": 22,
"index": 11258
"index": 11274
},
"end": {
"line": 316,
"column": 3,
"index": 11439
"index": 11455
}
},
{
Expand All @@ -216,12 +216,12 @@
"start": {
"line": 317,
"column": 13,
"index": 11454
"index": 11470
},
"end": {
"line": 320,
"column": 3,
"index": 11562
"index": 11578
}
},
{
Expand All @@ -231,12 +231,12 @@
"start": {
"line": 321,
"column": 17,
"index": 11581
"index": 11597
},
"end": {
"line": 324,
"column": 3,
"index": 11698
"index": 11714
}
},
{
Expand All @@ -246,12 +246,12 @@
"start": {
"line": 325,
"column": 17,
"index": 11717
"index": 11733
},
"end": {
"line": 328,
"column": 3,
"index": 11840
"index": 11856
}
},
{
Expand All @@ -261,12 +261,12 @@
"start": {
"line": 329,
"column": 21,
"index": 11863
"index": 11879
},
"end": {
"line": 333,
"column": 3,
"index": 12081
"index": 12097
}
},
{
Expand All @@ -276,12 +276,12 @@
"start": {
"line": 334,
"column": 11,
"index": 12094
"index": 12110
},
"end": {
"line": 337,
"column": 3,
"index": 12198
"index": 12214
}
}
]

0 comments on commit 8a852fc

Please sign in to comment.