Project

General

Profile

« Previous | Next » 

Revision 5597ccee

Added by Leszek Koltunski over 1 year ago

Bugfix for the Bandaged UI.

View differences:

src/main/java/org/distorted/bandaged/BandagedCreatorActivity.java
67 67
    protected void onCreate(Bundle savedState)
68 68
      {
69 69
      super.onCreate(savedState);
70

  
71
      Bundle b = getIntent().getExtras();
72
      mObjectOrdinal = (b != null) ? b.getInt("obj") : 0;
73

  
70 74
      DistortedLibrary.onCreate(ACTIVITY_NUMBER);
71 75
      setTheme(R.style.MaterialThemeNoActionBar);
72 76
      setContentView(R.layout.bandaged);
......
80 84
      final int layoutDirection = config.getLayoutDirection();
81 85
      mRTL = layoutDirection==LAYOUT_DIRECTION_RTL;
82 86

  
83
      Bundle b = getIntent().getExtras();
84
      mObjectOrdinal = (b != null) ? b.getInt("obj") : 0;
85

  
86 87
      hideNavigationBar();
87 88
      cutoutHack();
88 89
      computeHeights();

Also available in: Unified diff