mirror of
				https://github.com/SimpleMobileTools/Simple-Notes.git
				synced 2025-06-05 17:00:23 +02:00 
			
		
		
		
	removing an unneeded apply, as it contains only 1 line
This commit is contained in:
		@@ -81,9 +81,7 @@ abstract class NotesDatabase : RoomDatabase() {
 | 
			
		||||
 | 
			
		||||
        private val MIGRATION_3_4 = object : Migration(3, 4) {
 | 
			
		||||
            override fun migrate(database: SupportSQLiteDatabase) {
 | 
			
		||||
                database.apply {
 | 
			
		||||
                    execSQL("ALTER TABLE widgets ADD COLUMN widget_show_title INTEGER NOT NULL DEFAULT 0")
 | 
			
		||||
                }
 | 
			
		||||
                database.execSQL("ALTER TABLE widgets ADD COLUMN widget_show_title INTEGER NOT NULL DEFAULT 0")
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user