Skip to content

Commit e5eab94

Browse files
authored
Merge pull request #138 from android/riggaroo/move-watchface
Move watchface related export files into .watchface folder.
2 parents 92e0e4a + 16d416a commit e5eab94

13 files changed

+15
-13
lines changed

feature/results/src/main/java/com/android/developers/androidify/customize/CustomizeExportScreen.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ import androidx.compose.ui.tooling.preview.Preview
6969
import androidx.compose.ui.unit.dp
7070
import androidx.lifecycle.compose.collectAsStateWithLifecycle
7171
import androidx.navigation3.ui.LocalNavAnimatedContentScope
72+
import com.android.developers.androidify.customize.watchface.WatchFaceModalSheet
7273
import com.android.developers.androidify.results.PermissionRationaleDialog
7374
import com.android.developers.androidify.results.R
7475
import com.android.developers.androidify.results.shareImage

feature/results/src/main/java/com/android/developers/androidify/customize/CustomizeExportViewModel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import androidx.compose.ui.Modifier
2424
import androidx.lifecycle.AndroidViewModel
2525
import androidx.lifecycle.viewModelScope
2626
import com.android.developers.androidify.RemoteConfigDataSource
27+
import com.android.developers.androidify.customize.watchface.WatchFaceSelectionState
2728
import com.android.developers.androidify.data.ImageGenerationRepository
2829
import com.android.developers.androidify.util.LocalFileProvider
2930
import com.android.developers.androidify.watchface.WatchFaceAsset

feature/results/src/main/java/com/android/developers/androidify/customize/CustomizeState.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import androidx.annotation.DrawableRes
2121
import androidx.compose.ui.geometry.Offset
2222
import androidx.compose.ui.geometry.Size
2323
import androidx.compose.ui.graphics.Color
24+
import com.android.developers.androidify.customize.watchface.WatchFaceSelectionState
2425
import com.android.developers.androidify.wear.common.ConnectedWatch
2526
import com.android.developers.androidify.wear.common.WatchFaceInstallationStatus
2627

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.android.developers.androidify.customize
16+
package com.android.developers.androidify.customize.watchface
1717

1818
import androidx.compose.foundation.layout.Arrangement
1919
import androidx.compose.foundation.layout.Column

feature/results/src/main/java/com/android/developers/androidify/customize/ErrorWatchFacePanel.kt renamed to feature/results/src/main/java/com/android/developers/androidify/customize/watchface/ErrorWatchFacePanel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.android.developers.androidify.customize
16+
package com.android.developers.androidify.customize.watchface
1717

1818
import androidx.compose.foundation.layout.Arrangement
1919
import androidx.compose.foundation.layout.Column
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.android.developers.androidify.customize
16+
package com.android.developers.androidify.customize.watchface
1717

1818
import androidx.compose.foundation.layout.Arrangement
1919
import androidx.compose.foundation.layout.Column
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.android.developers.androidify.customize
16+
package com.android.developers.androidify.customize.watchface
1717

1818
import android.content.Intent
1919
import androidx.compose.foundation.layout.Arrangement
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.android.developers.androidify.customize
16+
package com.android.developers.androidify.customize.watchface
1717

1818
import androidx.compose.foundation.layout.Arrangement
1919
import androidx.compose.foundation.layout.Column
@@ -115,12 +115,12 @@ private fun InstallWatchFacePanelPreview() {
115115
@Composable
116116
fun WatchFacesRow(
117117
watchFaces: List<WatchFaceAsset>,
118+
modifier: Modifier = Modifier,
118119
selectedWatchFace: WatchFaceAsset? = null,
119120
onWatchFaceSelect: (WatchFaceAsset) -> Unit = {},
120-
modifier: Modifier = Modifier,
121121
) {
122122
LazyRow(
123-
modifier = Modifier,
123+
modifier = modifier,
124124
horizontalArrangement = Arrangement.spacedBy(8.dp),
125125
contentPadding = PaddingValues(horizontal = 8.dp),
126126
) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.android.developers.androidify.customize
16+
package com.android.developers.androidify.customize.watchface
1717

1818
import androidx.compose.foundation.layout.Arrangement
1919
import androidx.compose.foundation.layout.Column

feature/results/src/main/java/com/android/developers/androidify/customize/WatchFaceModalSheet.kt renamed to feature/results/src/main/java/com/android/developers/androidify/customize/watchface/WatchFaceModalSheet.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.android.developers.androidify.customize
16+
package com.android.developers.androidify.customize.watchface
1717

1818
import androidx.compose.animation.AnimatedContent
1919
import androidx.compose.animation.ContentTransform

0 commit comments

Comments
 (0)