Преглед на файлове

:bug: Screen orientation not locked

Beautus преди 5 години
родител
ревизия
5d6c6fbdd0
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      app/src/main/AndroidManifest.xml

+ 2 - 1
app/src/main/AndroidManifest.xml

@@ -19,7 +19,8 @@
         <activity
             android:name=".MainActivity"
             android:launchMode="singleTask"
-            android:screenOrientation="fullSensor"
+            android:screenOrientation="portrait"
+            tools:ignore="LockedOrientationActivity"
             android:stateNotNeeded="true">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />