mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-20 15:34:26 +08:00
Sidebar removed for now
This commit is contained in:
@ -21,3 +21,11 @@
|
||||
font-size: 22;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.sessionRow{
|
||||
|
||||
}
|
||||
|
||||
.breakRow{
|
||||
background-color: #FFFBF0;
|
||||
}
|
@ -53,9 +53,10 @@
|
||||
|
||||
<ListView items="{{ sessions }}" row="2" separatorColor="#fac950">
|
||||
<ListView.itemTemplate>
|
||||
<GridLayout columns="auto, *" backgroundColor="{{ canBeFavorited ? 'white' : '#fffbf0' }}">
|
||||
<GridLayout columns="auto, *" cssClass="{{ canBeFavorited ? 'sessionRow' : 'breakRow' }}">
|
||||
|
||||
<Image src="{{ favorite ? '~/app/images/fav.png' : '~/app/images/addfav.png' }}" visibility="{{ canBeFavorited ? 'visible' : 'collapsed' }}"
|
||||
<Image src="{{ favorite ? '~/app/images/fav.png' : '~/app/images/addfav.png' }}"
|
||||
visibility="{{ canBeFavorited ? 'visible' : 'collapsed' }}"
|
||||
tap="toggleFavorite" width="32" height="32" vertical-align="center" margin="20" />
|
||||
|
||||
<StackLayout col="1">
|
||||
|
Reference in New Issue
Block a user