@@ -425,12 +425,6 @@ function showAuthScreen() {
425425 GitHub
426426 </button>
427427
428- <button class="auth-btn apple-btn" data-provider="apple">
429- <svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
430- <path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"/>
431- </svg>
432- Apple
433- </button>
434428 </div>
435429
436430 <div class="auth-divider">
@@ -763,9 +757,9 @@ function showAuthScreen() {
763757
764758 .auth-providers {
765759 display: grid;
766- grid-template-columns: 1fr 1fr 1fr ;
760+ grid-template-columns: 1fr 1fr;
767761 gap: 8px;
768- margin-bottom: 24px ;
762+ margin-bottom: 0px ;
769763 }
770764
771765 .auth-btn {
@@ -1380,6 +1374,15 @@ function setupUserAvatarEventListeners() {
13801374
13811375// Initialize the application
13821376async function initializeApplication ( ) {
1377+ < << << << Updated upstream
1378+ = = === ==
1379+ // Prevent double initialization
1380+ if ( window . _appInitialized ) {
1381+ console . log ( '🚀 Application already initialized, skipping...' ) ;
1382+ return ;
1383+ }
1384+
1385+ > >>> >>> Stashed changes
13831386 try {
13841387 console . log ( '🚀 Initializing Presto application...' ) ;
13851388
@@ -1463,6 +1466,12 @@ async function initializeApplication() {
14631466 } catch ( error ) {
14641467 console . error ( '❌ Failed to initialize application:' , error ) ;
14651468 NotificationUtils . showNotificationPing ( 'Failed to initialize app. Please refresh! 🔄' , 'error' ) ;
1469+ < << << << Updated upstream
1470+ = = === ==
1471+
1472+ // Reset initialization flag on error so user can retry
1473+ window . _appInitialized = false ;
1474+ > >>> >>> Stashed changes
14661475 }
14671476}
14681477
0 commit comments