Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
siradji committed Mar 3, 2024
1 parent c6529fd commit 0e6b5b6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/eas-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: EAS Publish

on:
release:
types: [published]
types: [created]

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import {ScrollView, View, Text} from "react-native";
import {StackScreenProps} from "@react-navigation/stack";
import {WalletParamsList} from "@screens/AppNavigator/WalletNavigator/WalletNavigator";
import {WalletScreenName} from "@screens/AppNavigator/WalletNavigator/WalletScreenName";
import {useEffect} from "react";
import {GoBackButton} from "@screens/AppNavigator/SettingsNavigator/components/Goback";
import {tailwind} from "@tailwind";


type WalletPayoutScreenProps = StackScreenProps<WalletParamsList, WalletScreenName.WALLET_PAYOUT>
export const WalletPayoutScreen: React.FC<WalletPayoutScreenProps> = ({navigation, route}) => {
useEffect(() => {
navigation.setOptions({
headerTitle: `Payout #${route.params.payout.refId}`,
headerLeft: () => <GoBackButton onPress={() => navigation.goBack()} />
})
}, [])
return (
<ScrollView style={tailwind('flex-1 bg-white px-5 pt-5')}>
<View style={tailwind('flex flex-row items-center')}>
<Text>Orders</Text>
</View>
</ScrollView>
)
}

0 comments on commit 0e6b5b6

Please sign in to comment.