File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed
android/app/src/main/java/im/status/ethereum Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -125,17 +125,7 @@ public void onNewIntent(final Intent intent) {
125
125
@ Override
126
126
protected void onCreate (Bundle savedInstanceState ) {
127
127
SplashScreen splashScreen = SplashScreen .installSplashScreen (this );
128
-
129
- switch (getResources ().getConfiguration ().uiMode & Configuration .UI_MODE_NIGHT_MASK ) {
130
- case Configuration .UI_MODE_NIGHT_YES :
131
- setTheme (R .style .DarkTheme );
132
- break ;
133
- case Configuration .UI_MODE_NIGHT_NO :
134
- setTheme (R .style .LightTheme );
135
- break ;
136
- default :
137
- setTheme (R .style .LightTheme );
138
- }
128
+ setTheme (R .style .DarkTheme );
139
129
// Make sure we get an Alert for every uncaught exceptions
140
130
registerUncaughtExceptionHandler (MainActivity .this );
141
131
Original file line number Diff line number Diff line change 17
17
<rect key =" frame" x =" 0.0" y =" 0.0" width =" 375" height =" 667" />
18
18
<autoresizingMask key =" autoresizingMask" widthSizable =" YES" heightSizable =" YES" />
19
19
<subviews >
20
- <imageView userInteractionEnabled =" NO" contentMode =" center" horizontalHuggingPriority =" 251" verticalHuggingPriority =" 251" fixedFrame =" YES" image =" launch-icon.png" translatesAutoresizingMaskIntoConstraints =" NO" id =" cqW-9w-FC0" >
21
- <rect key =" frame" x =" -1" y =" -1" width =" 376" height =" 666" />
22
- <autoresizingMask key =" autoresizingMask" flexibleMinX =" YES" widthSizable =" YES" flexibleMaxX =" YES" flexibleMinY =" YES" heightSizable =" YES" flexibleMaxY =" YES" />
20
+ <imageView userInteractionEnabled =" NO" contentMode =" center" horizontalHuggingPriority =" 251" verticalHuggingPriority =" 251" image =" launch-icon.png" translatesAutoresizingMaskIntoConstraints =" NO" id =" cqW-9w-FC0" >
21
+ <rect key =" frame" x =" 0.0" y =" 1" width =" 376" height =" 666" />
23
22
<color key =" backgroundColor" red =" 0.035294117647058823" green =" 0.062745098039215685" blue =" 0.10980392156862745" alpha =" 1" colorSpace =" custom" customColorSpace =" sRGB" />
24
23
</imageView >
25
24
</subviews >
26
25
<viewLayoutGuide key =" safeArea" id =" 2aN-f8-qiu" />
27
26
<color key =" backgroundColor" systemColor =" systemBackgroundColor" />
27
+ <constraints >
28
+ <constraint firstItem =" cqW-9w-FC0" firstAttribute =" centerX" secondItem =" 2aN-f8-qiu" secondAttribute =" centerX" id =" ZQS-4G-GAL" />
29
+ <constraint firstAttribute =" width" secondItem =" cqW-9w-FC0" secondAttribute =" width" multiplier =" 0.99734" id =" jsZ-PI-blw" />
30
+ <constraint firstAttribute =" height" secondItem =" cqW-9w-FC0" secondAttribute =" height" multiplier =" 1.0015" id =" mKf-1d-m1w" />
31
+ <constraint firstItem =" cqW-9w-FC0" firstAttribute =" centerY" secondItem =" 2aN-f8-qiu" secondAttribute =" centerY" id =" noT-Rj-8Uy" />
32
+ </constraints >
28
33
</view >
29
34
</viewController >
30
35
<placeholder placeholderIdentifier =" IBFirstResponder" id =" hOp-FG-FML" userLabel =" First Responder" sceneMemberID =" firstResponder" />
You can’t perform that action at this time.
0 commit comments