Skip to content

Commit 664771b

Browse files
committed
Fix some typos
1 parent 7bf2a13 commit 664771b

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

app/src/main/java/edu/team08/infinitegallery/main/MainActivity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ public static void setWindowFlag(Activity activity, final int bits, boolean on)
144144
public void changeStatusBar() {
145145
runOnUiThread(() -> {
146146
if (currentFragment instanceof PhotosFragment) {
147-
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
147+
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE
148+
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
148149
setWindowFlag(this, WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS, false);
149150
getWindow().setStatusBarColor(Color.TRANSPARENT);
150151
} else {

app/src/main/res/values-night/themes.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@
7373
<style name="Theme.MyTheme.AllPhotosTheme" parent="Theme.MyTheme">
7474
<item name="android:textColorSecondary">@color/white</item>
7575
<item name="android:windowTranslucentStatus">true</item>
76-
77-
7876
</style>
7977

8078
</resources>

app/src/main/res/values/themes.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<!-- Status bar color. -->
1616
<item name="android:windowLightStatusBar">true</item>
1717
<item name="android:statusBarColor">@color/gray_trans</item>
18-
1918
<item name="actionOverflowMenuStyle">@style/OverflowMenu</item>
2019

2120
<item name="colorTertiary">@color/gray</item>
@@ -72,9 +71,6 @@
7271
<item name="android:textColorSecondary">@color/white</item>
7372
<item name="android:windowTranslucentStatus">true</item>
7473
<item name="android:windowLightStatusBar">false</item>
75-
76-
77-
7874
</style>
7975

8076
</resources>

0 commit comments

Comments
 (0)