diff --git a/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt b/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt index 95a05bf..34c7fa1 100644 --- a/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt +++ b/android/src/main/java/com/wbrawner/budget/ui/MainActivity.kt @@ -7,13 +7,13 @@ import androidx.emoji.text.EmojiCompat import androidx.navigation.findNavController import androidx.navigation.ui.setupWithNavController import com.wbrawner.budget.R -import kotlinx.android.synthetic.main.activity_transaction_list.* +import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) EmojiCompat.init(androidx.emoji.bundled.BundledEmojiCompatConfig(this)) - setContentView(R.layout.activity_transaction_list) + setContentView(R.layout.activity_main) setSupportActionBar(action_bar) val navController = findNavController(R.id.content_container) menu_main.setupWithNavController(navController) diff --git a/android/src/main/res/layout/activity_transaction_list.xml b/android/src/main/res/layout/activity_main.xml similarity index 100% rename from android/src/main/res/layout/activity_transaction_list.xml rename to android/src/main/res/layout/activity_main.xml diff --git a/android/src/main/res/navigation/auth_graph.xml b/android/src/main/res/navigation/auth_graph.xml index c1a5908..c0f3fd7 100644 --- a/android/src/main/res/navigation/auth_graph.xml +++ b/android/src/main/res/navigation/auth_graph.xml @@ -28,5 +28,5 @@ android:id="@+id/mainActivity" android:name="com.wbrawner.budget.ui.MainActivity" android:label="activity_transaction_list" - tools:layout="@layout/activity_transaction_list" /> + tools:layout="@layout/activity_main" /> \ No newline at end of file