Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • benhayward.ben/mobile-native
  • minds/mobile-native
  • msantang78/mobile-native
  • edgebal/mobile-native
  • msantang78_test/mobile-native
  • duyquoc/mobile-native
  • priestd09/mobile-native
  • eiennohi/mobile-native
  • omadrid/mobile-native
  • sieuhuflit/mobile-native
  • juanmsolaro/mobile-native
  • ascenderking/mobile-native
  • jim-toth/mobile-native
  • thinnakrit/mobile-native-lang
  • project_connection/mobile-native
  • AaronTheBruce/mobile-native
  • cormac.kantargis.hack/mobile-native
  • xthread/mobile-native
  • Paulnguyenun/mobile-native
  • lustigdev/mobile-native
  • GubbenOlsson/mobile-native
  • calvinoea/mobile-native
  • namesty/mobile-native
  • mrrobot16/mobile-native
  • eliobricenov/mobile-native
  • bedriguler/mobile-native
  • m994/mobile-native
  • threetoes/mobile-native
  • liangel/mobile-native
  • hosituan/mobile-native
  • nacef.otay/mobile-native
  • madibaa/mobile-native
  • valentin129/mobile-native
  • manishoo/mobile-native1
34 results
Show changes
Commits on Source (2)
......@@ -24,10 +24,6 @@ import { withErrorBoundary } from '../common/components/ErrorBoundary';
import i18n from '../common/services/i18n.service';
const selectedTextStyle = {color: 'black'};
const typeOptions = [
{ text: i18n.t('blogs.tabSubscriptions'), value: 'network', selectedTextStyle},
{ text: i18n.t('blogs.tabMyBlogs'), value: 'owner', selectedTextStyle},
];
const BlogCardWithErrorBoundary = withErrorBoundary(BlogCard);
......@@ -42,6 +38,14 @@ export default class BlogsListScreen extends Component {
title: 'Blogs',
};
constructor(props) {
super(props);
this.typeOptions = [
{ text: i18n.t('blogs.tabSubscriptions'), value: 'network', selectedTextStyle},
{ text: i18n.t('blogs.tabMyBlogs'), value: 'owner', selectedTextStyle},
];
}
/**
* Load data on mount
*/
......@@ -88,7 +92,7 @@ export default class BlogsListScreen extends Component {
return (
<View>
<Toolbar
options={ typeOptions }
options={ this.typeOptions }
initial={ this.props.blogs.filter }
onChange={ this.onTabChange }
/>
......