Skip to content

Commit

Permalink
fix: splash config
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Dec 28, 2024
1 parent 66bc151 commit 39ec3d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,18 @@ export default ({config}: ConfigContext): ExpoConfig => ({
'expo-localization',
[
'expo-splash-screen',
// https://github.com/expo/expo/issues/32515#issuecomment-2533398853
{
image: './assets/icon.png',
backgroundColor: '#333333',
imageWidth: 200,
dark: {backgroundColor: '#1B1B1B'},
ios: {
resizeMode: 'cover',
image: './assets/splash.png',
},
// iOS only
enableFullScreenImage_legacy: true,
},
],
],
Expand Down
2 changes: 0 additions & 2 deletions src/apis/slackQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import {Post} from '../types';

const SLACK_WEBHOOK_URL = process.env.SLACK_WEBHOOK_URL;

console.log('SLACK_WEBHOOK_URL:', SLACK_WEBHOOK_URL);

const truncateText = (text: string, maxLength: number) => {
if (text.length > maxLength) {
return text.slice(0, maxLength) + '...';
Expand Down

0 comments on commit 39ec3d0

Please sign in to comment.