Skip to content

Commit

Permalink
fix: bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrijkotov634 committed Dec 18, 2021
1 parent bb7fffd commit 470c522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/src/main/java/com/dm/bomber/ui/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
repository = new MainRepository(this);
AppCompatDelegate.setDefaultNightMode(repository.getTheme());

super.onCreate(savedInstanceState);

Expand Down
7 changes: 2 additions & 5 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/country_code_pick"
android:paddingLeft="@dimen/paddings"
android:paddingTop="@dimen/paddings"
android:paddingRight="@dimen/paddings"
android:paddingBottom="@dimen/paddings"
android:padding="@dimen/paddings"
app:layout_constraintBottom_toTopOf="@+id/start_attack"
app:layout_constraintEnd_toStartOf="@+id/phone_number"
app:layout_constraintHorizontal_chainStyle="packed"
Expand Down Expand Up @@ -65,7 +62,7 @@
android:background="@drawable/cycles_count"
android:hint="@string/number_of_cycles"
android:inputType="number"
android:maxLength="3"
android:maxLength="2"
android:padding="@dimen/paddings"
android:textSize="@dimen/textSize"
app:layout_constraintBottom_toBottomOf="@+id/phone_number"
Expand Down

0 comments on commit 470c522

Please sign in to comment.