Skip to content

Commit

Permalink
[#105] Review: Remove useless annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinea authored and florentmaitre committed Aug 30, 2022
1 parent fb3b310 commit 925114e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,16 @@

package com.orange.ods.demo.ui

import androidx.compose.material.ExperimentalMaterialApi
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.saveable.rememberSaveable
import com.google.accompanist.pager.ExperimentalPagerApi
import com.orange.ods.demo.R

private const val DefaultTopAppBarActionCount = 1

@Composable
@ExperimentalPagerApi
@ExperimentalMaterialApi
fun rememberOdsDemoTopAppBarState(
titleRes: MutableState<Int> = rememberSaveable { mutableStateOf(R.string.navigation_item_guidelines) },
actionCount: MutableState<Int> = rememberSaveable { mutableStateOf(DefaultTopAppBarActionCount) },
Expand Down

0 comments on commit 925114e

Please sign in to comment.