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

chore: moved files to more relevant packages

beautusg преди 7 години
родител
ревизия
9358c667d2

+ 1 - 1
app/src/main/java/com/sduduzog/slimlauncher/ui/main/NoteFragment.kt → app/src/main/java/com/sduduzog/slimlauncher/ui/notes/NoteFragment.kt

@@ -1,4 +1,4 @@
-package com.sduduzog.slimlauncher.ui.main
+package com.sduduzog.slimlauncher.ui.notes
 
 
 import android.os.Bundle

+ 1 - 1
app/src/main/java/com/sduduzog/slimlauncher/ui/main/NotesFragment.kt → app/src/main/java/com/sduduzog/slimlauncher/ui/notes/NotesFragment.kt

@@ -1,4 +1,4 @@
-package com.sduduzog.slimlauncher.ui.main
+package com.sduduzog.slimlauncher.ui.notes
 
 import android.Manifest
 import android.content.pm.PackageManager

+ 1 - 1
app/src/main/res/layout/note_fragment.xml

@@ -4,7 +4,7 @@
     android:id="@+id/note_fragment"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    tools:context="com.sduduzog.slimlauncher.ui.main.NoteFragment">
+    tools:context="com.sduduzog.slimlauncher.ui.notes.NoteFragment">
 
     <androidx.constraintlayout.widget.ConstraintLayout
         android:id="@+id/note_fragment_layout"

+ 1 - 1
app/src/main/res/layout/notes_fragment.xml

@@ -5,7 +5,7 @@
     android:id="@+id/notes_fragment"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    tools:context=".ui.main.NotesFragment">
+    tools:context=".ui.notes.NotesFragment">
 
     <TextView
         android:id="@+id/notes_fragment_title"

+ 2 - 2
app/src/main/res/navigation/nav_graph.xml

@@ -45,7 +45,7 @@
         tools:layout="@layout/add_app_fragment" />
     <fragment
         android:id="@+id/noteFragment"
-        android:name="com.sduduzog.slimlauncher.ui.main.NoteFragment"
+        android:name="com.sduduzog.slimlauncher.ui.notes.NoteFragment"
         android:label="note_fragment"
         tools:layout="@layout/note_fragment">
         <action
@@ -54,7 +54,7 @@
     </fragment>
     <fragment
         android:id="@+id/notesFragment"
-        android:name="com.sduduzog.slimlauncher.ui.main.NotesFragment"
+        android:name="com.sduduzog.slimlauncher.ui.notes.NotesFragment"
         android:label="notes_fragment"
         tools:layout="@layout/notes_fragment">
         <action