Changeset 701

Show
Ignore:
Timestamp:
12/07/08 22:58:18 (1 month ago)
Author:
gbooker
Message:

Don't layout on ATV 1.x since it doesn't have it at all

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/SapphireCompatibilityClasses/SapphireLayoutManager.m

    r695 r701  
    2020 
    2121#import "SapphireLayoutManager.h" 
     22#import "SapphireFrontRowCompat.h" 
    2223 
    2324@interface BRLayerController (compat) 
     
    3031+ (id)setCustomLayoutOnControl:(BRLayerController <SapphireLayoutDelegate> *)control 
    3132{ 
     33        if(![SapphireFrontRowCompat usingTakeTwo]) 
     34                return nil; 
     35         
    3236        SapphireLayoutManager *newLayout = [[SapphireLayoutManager alloc] initWithReal:[control layoutManager]]; 
    3337        [newLayout setDelegate:control];